Skip to content

Commit

Permalink
Fixed logging bug on successful token acquisition (Azure#17794)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendrixMSFT authored May 3, 2022
1 parent 0fce532 commit 1d23ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/azidentity/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ func logGetTokenSuccess(cred azcore.TokenCredential, opts policy.TokenRequestOpt
return
}
scope := strings.Join(opts.Scopes, ", ")
msg := fmt.Sprintf("%s.GetToken() acquired a token for scope %s\n", cred, scope)
msg := fmt.Sprintf("%T.GetToken() acquired a token for scope %s\n", cred, scope)
log.Write(EventAuthentication, msg)
}

0 comments on commit 1d23ee6

Please sign in to comment.