Skip to content

Commit

Permalink
Change log level from Warning to Info when ExternalName services is e…
Browse files Browse the repository at this point in the history
…nabled
  • Loading branch information
marcmognol committed May 13, 2024
1 parent 05d2c86 commit 6a06560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/provider/kubernetes/crd/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (p *Provider) Provide(configurationChan chan<- dynamic.Message, pool *safe.
}

if p.AllowExternalNameServices {
logger.Warn().Msg("ExternalName service loading is enabled, please ensure that this is expected (see AllowExternalNameServices option)")
logger.Info().Msg("ExternalName service loading is enabled, please ensure that this is expected (see AllowExternalNameServices option)")
}

pool.GoCtx(func(ctxPool context.Context) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/provider/kubernetes/ingress/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (p *Provider) Provide(configurationChan chan<- dynamic.Message, pool *safe.
}

if p.AllowExternalNameServices {
logger.Warn().Msg("ExternalName service loading is enabled, please ensure that this is expected (see AllowExternalNameServices option)")
logger.Info().Msg("ExternalName service loading is enabled, please ensure that this is expected (see AllowExternalNameServices option)")
}

pool.GoCtx(func(ctxPool context.Context) {
Expand Down

0 comments on commit 6a06560

Please sign in to comment.