enhance: mr linter pls be happy

This commit is contained in:
Laurence 2025-05-02 14:23:43 +01:00
parent b55d9cbe88
commit 4cea22c023
No known key found for this signature in database
GPG key ID: B053BEE3478E8FEF

View file

@ -637,7 +637,9 @@ func (d *DockerSource) WatchContainer(ctx context.Context, monitChan chan *Conta
d.logger.Info("Successfully reconnected to Docker events")
// We check containers after a reconnection because the docker daemon might have restarted
// 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
}