Merge "Fixes uncaught exception on Add Pool when unable to retrieve networks"
This commit is contained in:
commit
e91b920bbc
@ -52,6 +52,7 @@ class AddPoolAction(workflows.Action):
|
||||
except:
|
||||
exceptions.handle(request,
|
||||
_('Unable to retrieve networks list.'))
|
||||
networks = []
|
||||
for n in networks:
|
||||
for s in n['subnets']:
|
||||
subnet_id_choices.append((s.id, s.cidr))
|
||||
|
Loading…
Reference in New Issue
Block a user