Skip to content

Commit

Permalink
try fix 401 err
Browse files Browse the repository at this point in the history
  • Loading branch information
urykhy committed Feb 14, 2022
1 parent 7007a6a commit fc86aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kms.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
)

func (c *Client) kmsAuth(url string) error {
if c.options.KerberosServicePrincipleName == "" {
if c.options.KerberosClient == nil {
url += ("&user.name=" + c.options.User)
}

Expand Down

0 comments on commit fc86aad

Please sign in to comment.