diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-07-31 09:48:10 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-07-31 09:48:10 +0800 |
commit | 92473847f4758fa9557c677ae207e9e92de1f13f (patch) | |
tree | 95b99847cbffa769167f4056fc9effaba74025c5 /deploy | |
parent | 6ad341d71723c9913f0a532a7e31bf0604440994 (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')
-rw-r--r-- | deploy/client.py | 2 |
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: |