소스 검색

resolve merge conflicts

abhishek9686 6 달 전
부모
커밋
80dc99831c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pro/controllers/users.go

+ 2 - 2
pro/controllers/users.go

@@ -1102,7 +1102,7 @@ func getUserRemoteAccessGwsV1(w http.ResponseWriter, r *http.Request) {
 				slog.Error("failed to get node network", "error", err)
 				continue
 			}
-			nodesWithStatus := logic.AddStatusToNodes([]models.Node{node})
+			nodesWithStatus := logic.AddStatusToNodes([]models.Node{node}, false)
 			if len(nodesWithStatus) > 0 {
 				node = nodesWithStatus[0]
 			}
@@ -1143,7 +1143,7 @@ func getUserRemoteAccessGwsV1(w http.ResponseWriter, r *http.Request) {
 		if err != nil {
 			continue
 		}
-		nodesWithStatus := logic.AddStatusToNodes([]models.Node{node})
+		nodesWithStatus := logic.AddStatusToNodes([]models.Node{node}, false)
 		if len(nodesWithStatus) > 0 {
 			node = nodesWithStatus[0]
 		}