Skip to content

Commit

Permalink
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go…
Browse files Browse the repository at this point in the history
…/sdk/auth/signers/signer_oidc.go

Co-authored-by: Huang Huang <[email protected]>
  • Loading branch information
maximrub and mozillazg committed May 20, 2023
1 parent be83b2c commit b08f77e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (signer *OIDCSigner) buildCommonRequest() (request *requests.CommonRequest,
request.Headers["host"] = endpoint
request.Headers["Accept-Encoding"] = "identity"
request.Headers["content-type"] = "application/x-www-form-urlencoded"
request.Headers["user-agent"] = fmt.Sprintf("AlibabaCloud (%s; %s) Golang/%s Core/%s TeaDSL/1", runtime.GOOS, runtime.GOARCH, strings.Trim(runtime.Version(), "go"), "0.01")
request.Headers["user-agent"] = fmt.Sprintf("AlibabaCloud (%s; %s) Golang/%s Core/%s TeaDSL/1 kubernetes-cluster-autoscaler", runtime.GOOS, runtime.GOARCH, strings.Trim(runtime.Version(), "go"), "0.01")
return
}

Expand Down

0 comments on commit b08f77e

Please sign in to comment.