Skip to content

Commit a804eb2

Browse files
committed
include all containers (stopped, ...)
1 parent 8b78b17 commit a804eb2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internals/wol/wol.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ func updateContainers() bool {
141141

142142
logger.Dev("Found ", len(queries), " unique queries")
143143

144-
logger.Dev("Found queries: ", queries)
145-
146144
containerQueryMutex.Lock()
147145
containerQueries = queries
148146
containerQueryMutex.Unlock()
@@ -200,6 +198,7 @@ func getEnabledContainers() ([]container.Summary, error) {
200198
filters.Add("label", "wol.enable=true")
201199

202200
return docker.GetContainers(client.ContainerListOptions{
201+
All: true,
203202
Filters: filters,
204203
})
205204
}

0 commit comments

Comments
 (0)