Ignore non '/docker' containers in the docker driver.

This commit is contained in:
Vishnu Kannan 2014-07-22 18:03:29 +00:00
parent 5dfa7b64ba
commit f147996e9d

View File

@ -67,6 +67,8 @@ func (self *dockerFactory) CanHandle(name string) bool {
}
} else if name == "/" {
return false
} else if !strings.HasPrefix(name, "/docker") {
return false
} else if name == "/docker" {
// We need the docker driver to handle /docker. Otherwise the aggregation at the API level will break.
return true