|
@@ -115,7 +115,6 @@ func updateInternetGw(w http.ResponseWriter, r *http.Request) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
proLogic.UnsetInternetGw(&node)
|
|
proLogic.UnsetInternetGw(&node)
|
|
-
|
|
|
|
proLogic.SetInternetGw(&node, request)
|
|
proLogic.SetInternetGw(&node, request)
|
|
err = logic.UpsertNode(&node)
|
|
err = logic.UpsertNode(&node)
|
|
if err != nil {
|
|
if err != nil {
|