remove hostID from container image node ids

This commit is contained in:
Paul Bellamy
2016-01-18 10:36:31 +00:00
committed by Simon Howe
parent 9e61ad37f4
commit 3cda328976
10 changed files with 14 additions and 20 deletions

View File

@@ -131,7 +131,7 @@ func probeMain() {
}
if registry, err := docker.NewRegistry(*dockerInterval, clients); err == nil {
defer registry.Stop()
p.AddTagger(docker.NewTagger(registry, hostID, processCache))
p.AddTagger(docker.NewTagger(registry, processCache))
p.AddReporter(docker.NewReporter(registry, hostID, p))
} else {
log.Printf("Docker: failed to start registry: %v", err)