diff --git a/lifecycle.go b/lifecycle.go index dd129db998..1087f5037d 100644 --- a/lifecycle.go +++ b/lifecycle.go @@ -234,7 +234,6 @@ var defaultReadinessHook = func() ContainerLifecycleHooks { return nil }, b) - if err != nil { return fmt.Errorf("all exposed ports, %s, were not mapped in 5s: %w", dockerContainer.exposedPorts, err) }