fix typo

parent de2d9e39
......@@ -108,7 +108,7 @@ def spinUpIDS(mode=0,name='test', cip='localhost', dpid='0000000000000001'):
def spinDownIDS(name='test'):
servername = name
print servername
server_list = nova_client.servers.list(search_opts={"name": server.name})
server_list = nova_client.servers.list(search_opts={"name": servername})
ids = None
for server in server_list:
if server.name == servername:
......
......@@ -19,7 +19,7 @@ def get_nova_credentials_v2():
credentials = get_nova_credentials_v2()
nova_client = nvclient(**credentials)
server_list = nova_client.servers.list(search_opts={"name": server.name})
server_list = nova_client.servers.list(search_opts={"name": "test"})
for server in server_list:
if server.name == "test":
......
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