From: Ilya Dryomov Date: Wed, 3 Dec 2014 10:47:09 +0000 (+0300) Subject: No need to invoke teuthology-nuke if there is nothing to nuke X-Git-Tag: 1.1.0~1061^2~17^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F377%2Fhead;p=teuthology.git No need to invoke teuthology-nuke if there is nothing to nuke Slipped in with 26803da18d1b ("Rewrite portions of teuthology.kill"). Signed-off-by: Ilya Dryomov --- diff --git a/teuthology/kill.py b/teuthology/kill.py index 0a8f7e2a2..fac4e4361 100755 --- a/teuthology/kill.py +++ b/teuthology/kill.py @@ -215,6 +215,7 @@ def nuke_targets(targets_dict, owner): targets = targets_dict.get('targets') if not targets: log.info("No locked machines. Not nuking anything") + return to_nuke = [] for target in targets: