Skip to content

Commit b1ab8ef

Browse files
Janvi Jatakia (from Dev Box)jatakiajanvi12
Janvi Jatakia (from Dev Box)
authored andcommitted
bug
1 parent 7e7acb3 commit b1ab8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/plugins/go/src/ingestion_token_utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ func getAgentConfiguration(imdsAccessToken string) (configurationId string, chan
336336

337337
AmcsEndpoint = fmt.Sprintf("https://global.handler.control.%s", mcsEndpoint)
338338
if strings.Compare(strings.ToLower(resourceRegion), "eastus2euap") == 0 || strings.Compare(strings.ToLower(resourceRegion), "centraluseuap") == 0 {
339-
AmcsEndpoint = fmt.Sprintf("https://global.handler.canary.control.%s", resourceRegion)
339+
AmcsEndpoint = fmt.Sprintf("https://global.handler.canary.control.%s", mcsEndpoint)
340340
}
341341
if AMCSRedirectedEndpoint != "" {
342342
AmcsEndpoint = AMCSRedirectedEndpoint

0 commit comments

Comments
 (0)