mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-27 11:51:53 +01:00
fixed issue for container not being excluded on restart
This commit is contained in:
@@ -37,8 +37,8 @@ var (
|
||||
dockerWatcherRetryInterval = 3 * time.Second
|
||||
)
|
||||
|
||||
func DockerrFilterContainerName(name string) filters.KeyValuePair {
|
||||
return filters.Arg("container", name)
|
||||
func DockerrFilterContainer(nameOrID string) filters.KeyValuePair {
|
||||
return filters.Arg("container", nameOrID)
|
||||
}
|
||||
|
||||
func NewDockerWatcher(host string) DockerWatcher {
|
||||
|
||||
Reference in New Issue
Block a user