summaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-07-31 09:48:10 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-07-31 09:48:10 +0800
commit92473847f4758fa9557c677ae207e9e92de1f13f (patch)
tree95b99847cbffa769167f4056fc9effaba74025c5 /deploy/client.py
parent6ad341d71723c9913f0a532a7e31bf0604440994 (diff)
Fix OS install bug
There is a missing indent in the judgement code block for OS installation complete which cause OS installation complete only affected by the state of host1 Change-Id: I5d470aef93b65ca77d290e596a4fefd62a82517b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/client.py b/deploy/client.py
index 5eab212d..981924f1 100644
--- a/deploy/client.py
+++ b/deploy/client.py
@@ -941,7 +941,7 @@ class CompassClient(object):
status, response = self.client.get_host_state(id)
if response['state'] != 'SUCCESSFUL':
ready = False
- break
+ break
current_time = time.time()
if not ready: