Merge "Fix "create failed" bug in add DHCP agent form"
This commit is contained in:
commit
eedcdb4d50
@ -54,7 +54,7 @@ class AddView(forms.ModalFormView):
|
|||||||
try:
|
try:
|
||||||
network = api.neutron.network_get(self.request, network_id)
|
network = api.neutron.network_get(self.request, network_id)
|
||||||
initial.update({"network_id": network_id,
|
initial.update({"network_id": network_id,
|
||||||
"network_name": network.name,
|
"network_name": network.name_or_id,
|
||||||
"agents": agents})
|
"agents": agents})
|
||||||
return initial
|
return initial
|
||||||
except Exception:
|
except Exception:
|
||||||
|
Loading…
Reference in New Issue
Block a user