Commit 24cf80ad by Őry Máté

vm: fix flake8

parent db39311c
......@@ -13,7 +13,7 @@ def check_queue(node_hostname, queue_id):
:param node_hostname: Short hostname of the node.
:param queue_id: Queue identifier (eg. vm).
"""
drivers = ['vmdriver', 'netdriver', 'agentdriver']
# drivers = ['vmdriver', 'netdriver', 'agentdriver']
# worker_list = [node_hostname + "." + d for d in drivers]
queue_name = node_hostname + "." + queue_id
active_queues = get_queues()
......@@ -27,6 +27,7 @@ def check_queue(node_hostname, queue_id):
return True
return False
def get_queues():
"""Get active celery queues.
......@@ -43,8 +44,6 @@ def get_queues():
return result
@celery.task(name='vmdriver.create')
def deploy(params):
pass
......
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 sign in to comment