This commit is contained in:
yusing
2026-01-07 15:29:39 +08:00
parent 63e69e71c3
commit 5ff6928b13
2 changed files with 21 additions and 3 deletions

View File

@@ -177,7 +177,7 @@ func checkConnection(ctx context.Context, client *docker.SharedClient) bool {
defer cancel()
err := client.CheckConnection(ctx)
if err != nil {
log.Debug().Err(err).Msg("docker watcher: connection failed")
log.Debug().Err(err).Str("host", client.Address()).Msg("docker watcher: connection failed")
return false
}
return true