summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdnvpn/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py
index a047269..98a1e87 100644
--- a/sdnvpn/lib/utils.py
+++ b/sdnvpn/lib/utils.py
@@ -417,7 +417,7 @@ def wait_for_cloud_init(instance):
logger.error("Cloud init failed to run. Reason: %s",
instance_log)
break
- if re.search(r"Cloud-init v. .+ finished at" in instance_log):
+ if re.search(r"Cloud-init v. .+ finished at", instance_log):
success = True
break
time.sleep(sleep_time)