Skip to content

Commit

Permalink
chore: update sp credential mode logging (#1730)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase authored Jan 7, 2025
1 parent 6e4c733 commit 935505a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ func getCredential(secrets map[string]string) (string, string, error) {
}

if clientID == "" {
return "", "", fmt.Errorf("could not find clientid in secrets(%v)", secrets)
return "", "", fmt.Errorf("could not find clientid in secrets")
}
if clientSecret == "" {
return "", "", fmt.Errorf("could not find clientsecret in secrets(%v)", secrets)
return "", "", fmt.Errorf("could not find clientsecret in secrets")
}
return clientID, clientSecret, nil
}
Expand Down

0 comments on commit 935505a

Please sign in to comment.