mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 04:15:54 +02:00
enhance: mr linter pls be happy
This commit is contained in:
parent
b55d9cbe88
commit
4cea22c023
1 changed files with 3 additions and 1 deletions
|
@ -637,7 +637,9 @@ func (d *DockerSource) WatchContainer(ctx context.Context, monitChan chan *Conta
|
||||||
d.logger.Info("Successfully reconnected to Docker events")
|
d.logger.Info("Successfully reconnected to Docker events")
|
||||||
// We check containers after a reconnection because the docker daemon might have restarted
|
// We check containers after a reconnection because the docker daemon might have restarted
|
||||||
// and the container tombs may have self deleted
|
// and the container tombs may have self deleted
|
||||||
d.checkContainers(ctx, monitChan, deleteChan)
|
if err := d.checkContainers(ctx, monitChan, deleteChan); err != nil {
|
||||||
|
d.logger.Warnf("Failed to check containers: %v", err)
|
||||||
|
}
|
||||||
// Continue in the main loop with new channels
|
// Continue in the main loop with new channels
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue