Skip to content

Commit a300a5c

Browse files
committed
incusd: Fix import shadowing
Signed-off-by: Stéphane Graber <[email protected]>
1 parent 5d6ea8c commit a300a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/incusd/networks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,12 +1414,12 @@ func networkPut(d *Daemon, r *http.Request) response.Response {
14141414

14151415
clientType := clusterRequest.UserAgentClientType(r.Header.Get("User-Agent"))
14161416

1417-
response := doNetworkUpdate(n, req, targetNode, clientType, r.Method, s.ServerClustered)
1417+
resp = doNetworkUpdate(n, req, targetNode, clientType, r.Method, s.ServerClustered)
14181418

14191419
requestor := request.CreateRequestor(r)
14201420
s.Events.SendLifecycle(projectName, lifecycle.NetworkUpdated.Event(n, requestor, nil))
14211421

1422-
return response
1422+
return resp
14231423
}
14241424

14251425
// swagger:operation PATCH /1.0/networks/{name} networks network_patch

0 commit comments

Comments
 (0)