Skip to content

Commit 84009cd

Browse files
committed
add
1 parent 0d647a7 commit 84009cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/common/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ func ShortRegionNameParse(shortRegion string) string {
624624
return regionMap[shortRegion]
625625
}
626626

627-
func GetAuthFromCAM(roleName string) (camResp CAMResponse, err error) {
627+
func GetAuthFromCAM(roleName string) (camResp *CAMResponse, err error) {
628628
url := fmt.Sprintf("http://metadata.tencentyun.com/latest/meta-data/cam/security-credentials/%s", roleName)
629629
log.Printf("[CRITAL] Request CAM security credentials url: %s", url)
630630
// maximum waiting time

0 commit comments

Comments
 (0)