Fixed logging bug on successful token acquisition
@@ -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)
}
