Skip to content

Commit

Permalink
Fix endpoints for CNS pull model API calls to DNC (#2297)
Browse files Browse the repository at this point in the history
fix endpoints for cns pull model api calls to dnc
  • Loading branch information
smittal22 authored Oct 20, 2023
1 parent e03114c commit c47e538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const (
azCloudUrl = "http://169.254.169.254/metadata/instance/compute/azEnvironment?api-version=2018-10-01&format=text"
httpConnectionTimeout = 7
headerTimeout = 7
RegisterNodeURLFmt = "%s/%s/node/%s%s"
SyncNodeNetworkContainersURLFmt = "%s/%s/node/%s%s"
RegisterNodeURLFmt = "%s/networks/%s/node/%s%s"
SyncNodeNetworkContainersURLFmt = "%s/networks/%s/node/%s/networkcontainers%s"
FiveSeconds = 5 * time.Second
JsonContent = "application/json; charset=UTF-8"
ContentType = "Content-Type"
Expand Down

0 comments on commit c47e538

Please sign in to comment.