Skip to content

Commit

Permalink
fix BearerAuthorizer creation bug (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayan-msft authored Aug 20, 2024
1 parent abf1c4d commit 449745f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (ba *BearerAuthorizer) WithTransportAuthorization() credentials.TransportCr
func NewEmptyBearerAuthorizer() *BearerAuthorizer {
return &BearerAuthorizer{
tokenProvider: NewEmptyTokenCredentialProvider(),
transportCredentials: NewEmptyBearerAuthorizer().transportCredentials,
transportCredentials: NewEmptyTransportCredential().GetTransportCredentials(),
}
}

Expand Down

0 comments on commit 449745f

Please sign in to comment.