summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-15 11:32:53 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-15 11:32:53 +0300
commitb4ab447f0e86b06b898018701c1fbd8a568fc850 (patch)
treebe46b42166df4730f18e1af61eaef315afbe4259
parent2d74794df8ed4d7e63d522e063b0b81b663203ed (diff)
downloadick-contractor-b4ab447f0e86b06b898018701c1fbd8a568fc850.tar.gz
Fix: manager status to pass in a timer to Manager
-rwxr-xr-xcontractor3
1 files changed, 2 insertions, 1 deletions
diff --git a/contractor b/contractor
index 7a4253e..5389a0a 100755
--- a/contractor
+++ b/contractor
@@ -120,7 +120,8 @@ class ContractorApplication(cliapp.Application):
return BuildSpec(f.read())
def cmd_manager_status(self, args):
- m = self.manager()
+ timer = Timer(self.verbose)
+ m = self.manager(timer)
if m.ssh(['true']).failed():
self.error('Manager VM is NOT available')
sys.exit(1)