Commit 1ecbe065 authored by Ivan Tyagov's avatar Ivan Tyagov

Fix badly used string.

parent 32a12714
......@@ -197,9 +197,9 @@ class SlapOSMasterCommunicator(object):
if instance_state.get('created_at', '-1') != "-1":
instance_text = instance_state['text']
if instance_text.startswith('#access Instance correctly stopped'):
if instance_text.startswith('#access Instance correctly started'):
state = INSTANCE_STATE_STARTED
elif instance_text.startswith('#access'):
elif instance_text.startswith('#access Instance correctly stopped'):
state = INSTANCE_STATE_STOPPED
elif instance_text.startswith('#destroy'):
state = INSTANCE_STATE_DESTROYED
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment