From 8b9d986c9ce54874f14e6d787f5c5b29d5ffc34c Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 4 Nov 2016 09:23:19 -0600 Subject: [PATCH] nuke: Call the check_lock function, not the module Signed-off-by: Zack Cerza --- teuthology/nuke/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/nuke/__init__.py b/teuthology/nuke/__init__.py index e05413236..502a694b1 100644 --- a/teuthology/nuke/__init__.py +++ b/teuthology/nuke/__init__.py @@ -305,7 +305,7 @@ def nuke_helper(ctx, should_unlock): if ctx.check_locks: # does not check to ensure if the node is 'up' # we want to be able to nuke a downed node - check_lock(ctx, None, check_up=False) + check_lock.check_lock(ctx, None, check_up=False) if (not ctx.noipmi and 'ipmi_user' in config and 'vpm' not in shortname): try: -- 2.47.3