Ignore non '/docker' containers in the docker driver.
This commit is contained in:
parent
5dfa7b64ba
commit
f147996e9d
@ -67,6 +67,8 @@ func (self *dockerFactory) CanHandle(name string) bool {
|
|||||||
}
|
}
|
||||||
} else if name == "/" {
|
} else if name == "/" {
|
||||||
return false
|
return false
|
||||||
|
} else if !strings.HasPrefix(name, "/docker") {
|
||||||
|
return false
|
||||||
} else if name == "/docker" {
|
} else if name == "/docker" {
|
||||||
// We need the docker driver to handle /docker. Otherwise the aggregation at the API level will break.
|
// We need the docker driver to handle /docker. Otherwise the aggregation at the API level will break.
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user