From 92473847f4758fa9557c677ae207e9e92de1f13f Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Mon, 31 Jul 2017 09:48:10 +0800 Subject: 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 --- deploy/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy') 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: -- cgit 1.2.3-korg