Skip to content

Commit fc86aad

Browse files
committed
try fix 401 err
1 parent 7007a6a commit fc86aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kms.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424
)
2525

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

0 commit comments

Comments
 (0)