Commit f9c9274a authored by Georgios Gousios's avatar Georgios Gousios
Browse files

Minor fix to make it connect to Rabbit

parent 722bbff5
......@@ -43,7 +43,7 @@ import json
class Command(NoArgsCommand):
help = 'Reconcile VM status with the backend'
chan = None
def open_channel(self):
conn = None
while conn == None:
......@@ -56,7 +56,7 @@ class Command(NoArgsCommand):
time.sleep(1)
pass
return conn.channel()
self.chan = conn.channel()
def handle_noargs(self, **options):
......
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