Skip to content

Commit

Permalink
set it to always 1
Browse files Browse the repository at this point in the history
  • Loading branch information
keithnguyen committed Jan 28, 2025
1 parent 533b350 commit 26ebeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cns/restserver/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ func (service *HTTPRestService) saveNetworkContainerGoalState(req cns.CreateNetw
if hostVersion == "" {
// Host version is the NC version from NMAgent, set it -1 to indicate no result from NMAgent yet.
// TODO, query NMAgent and with aggresive time out and assign latest host version.
hostVersion = "1"
}
hostVersion = "1"

// Remove the auth token before saving the containerStatus to cns json file
createNetworkContainerRequest := req
Expand Down

0 comments on commit 26ebeea

Please sign in to comment.