Log info if source already exists
parent
eb762dda86
commit
96a7dc310d
|
@ -658,6 +658,10 @@ func NewSources(ctx context.Context, sourcesStore SourcesStore, serversStore Ser
|
|||
for _, src := range srcs {
|
||||
if src.Name == srcKap.Source.Name {
|
||||
isNewSource = false
|
||||
logger.
|
||||
WithField("component", "server").
|
||||
WithField("NewSource", src.Name).
|
||||
Info("Source already exists")
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue