Browse Source

fix update inet gw api

abhishek9686 1 year ago
parent
commit
de30a9d583
1 changed files with 0 additions and 1 deletions
  1. 0 1
      pro/controllers/inet_gws.go

+ 0 - 1
pro/controllers/inet_gws.go

@@ -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 {