Skip to content

Commit f96af89

Browse files
Fix
1 parent 9bb40b0 commit f96af89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/hostgacommunicator/hostgacommunicator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
const hostGaPluginPort = "32526"
1515
const WireProtocolAddress = "AZURE_GUEST_AGENT_WIRE_PROTOCOL_ADDRESS"
1616
const wireServerFallbackAddress = "http://168.63.129.16:32526"
17+
const versionQueryParameterForHostGaRequests = "version"
1718

1819
type IHostGaCommunicator interface {
1920
DownloadPackage(el *logging.ExtensionLogger, appName string, appVersion string, dst string) error
@@ -112,7 +113,7 @@ func getOperationURI(el *logging.ExtensionLogger, appName string, appVersion str
112113

113114
if appVersion != "" {
114115
q := uri.Query()
115-
q.Set("version", appVersion)
116+
q.Set(versionQueryParameterForHostGaRequests, appVersion)
116117
uri.RawQuery = q.Encode()
117118
}
118119

0 commit comments

Comments
 (0)