We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d647a7 commit 84009cdCopy full SHA for 84009cd
tencentcloud/common/common.go
@@ -624,7 +624,7 @@ func ShortRegionNameParse(shortRegion string) string {
624
return regionMap[shortRegion]
625
}
626
627
-func GetAuthFromCAM(roleName string) (camResp CAMResponse, err error) {
+func GetAuthFromCAM(roleName string) (camResp *CAMResponse, err error) {
628
url := fmt.Sprintf("http://metadata.tencentyun.com/latest/meta-data/cam/security-credentials/%s", roleName)
629
log.Printf("[CRITAL] Request CAM security credentials url: %s", url)
630
// maximum waiting time
0 commit comments