Commit ccf8b124 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix typo in dict creation in network list

Refs: #4563
parent d18e6439
......@@ -109,7 +109,7 @@ class network_list(_init_networking, _optional_json, _name_filter, _id_filter):
nets = self.client.list_networks()
if not self['detail']:
for net in nets:
net = dict(net['id'], net['name'])
net = dict(id=net['id'], name=net['name'])
self._print(nets)
def main(self):
......
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