Skip to content
Snippets Groups Projects
Unverified Commit 07a42839 authored by Maksim Nabokikh's avatar Maksim Nabokikh Committed by GitHub
Browse files

Fix logger.Warnf error after merging 3661 (#3668)

parent daf32e52
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ func (c *Config) Open(id string, logger *slog.Logger) (conn connector.Connector,
if c.ClaimMutations.FilterGroupClaims.GroupsFilter != "" {
groupsFilter, err = regexp.Compile(c.ClaimMutations.FilterGroupClaims.GroupsFilter)
if err != nil {
logger.Warnf("ignoring invalid regex `%s`", c.ClaimMutations.FilterGroupClaims.GroupsFilter)
logger.Warn("ignoring invalid", "invalid_regex", c.ClaimMutations.FilterGroupClaims.GroupsFilter, "connector_id", id)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment