Skip to content

Commit 1d23ee6

Browse files
authored
Fixed logging bug on successful token acquisition (Azure#17794)
1 parent 0fce532 commit 1d23ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/azidentity/logging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ func logGetTokenSuccess(cred azcore.TokenCredential, opts policy.TokenRequestOpt
2222
return
2323
}
2424
scope := strings.Join(opts.Scopes, ", ")
25-
msg := fmt.Sprintf("%s.GetToken() acquired a token for scope %s\n", cred, scope)
25+
msg := fmt.Sprintf("%T.GetToken() acquired a token for scope %s\n", cred, scope)
2626
log.Write(EventAuthentication, msg)
2727
}

0 commit comments

Comments
 (0)