diff --git a/container/client.go b/container/client.go index f6f1f79..70a6fb1 100644 --- a/container/client.go +++ b/container/client.go @@ -59,8 +59,6 @@ func (client dockerClient) ListContainers(fn Filter) ([]Container, error) { cs := []Container{} bg := context.Background() - log.Info("include stopped: ", client.includeStopped) - if client.includeStopped { log.Debug("Retrieving containers including stopped and exited") } else { @@ -73,7 +71,7 @@ func (client dockerClient) ListContainers(fn Filter) ([]Container, error) { types.ContainerListOptions{ Filters: filter, }) - log.Info(containers) + if err != nil { return nil, err }