From e0399a07732c5ae3a1370fc879aa64b4cdca42f0 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 3 Dec 2014 13:47:09 +0300 Subject: [PATCH] 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 --- teuthology/kill.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/kill.py b/teuthology/kill.py index 0a8f7e2a29..fac4e43615 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: -- 2.39.5