mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
remove superfluous logging
This commit is contained in:
parent
ad90af6276
commit
a98e2f67ff
1 changed files with 1 additions and 3 deletions
|
|
@ -59,8 +59,6 @@ func (client dockerClient) ListContainers(fn Filter) ([]Container, error) {
|
||||||
cs := []Container{}
|
cs := []Container{}
|
||||||
bg := context.Background()
|
bg := context.Background()
|
||||||
|
|
||||||
log.Info("include stopped: ", client.includeStopped)
|
|
||||||
|
|
||||||
if client.includeStopped {
|
if client.includeStopped {
|
||||||
log.Debug("Retrieving containers including stopped and exited")
|
log.Debug("Retrieving containers including stopped and exited")
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -73,7 +71,7 @@ func (client dockerClient) ListContainers(fn Filter) ([]Container, error) {
|
||||||
types.ContainerListOptions{
|
types.ContainerListOptions{
|
||||||
Filters: filter,
|
Filters: filter,
|
||||||
})
|
})
|
||||||
log.Info(containers)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue