Skip to content

Commit

Permalink
Reduce severity of http warning log for non-email usernames (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptnapoleon authored Aug 12, 2024
1 parent 56a24ff commit 0f9591c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventnotifier/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (n *Notifier) getUserDetails(uInfo authv1.UserInfo, logger *zap.SugaredLogg
emailAddr, err := n.extractEmail(username)

if err != nil {
logger.Warnw("http notifier: user info username is not a valid email address", "error", err, "username", username)
logger.Infow("http notifier: user info username is not a valid email address", "error", err, "username", username)
}

userGroups, err = n.marshalUserGroups(uInfo.Groups)
Expand Down

0 comments on commit 0f9591c

Please sign in to comment.