Commit 804d5a71 authored by klafyvel's avatar klafyvel

Fix typo in view edit_switch

parent b5000ad3
Pipeline #2283 passed with stage
in 3 minutes and 29 seconds
......@@ -616,7 +616,7 @@ def edit_switch(request, switch, switchid):
domain_form = DomainForm(
request.POST or None,
instance=switch.interface_set.first().domain,
domain=request.user
user=request.user
)
if switch_form.is_valid() and interface_form.is_valid():
new_switch_obj = switch_form.save(commit=False)
......
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