remove unused output lines

This commit is contained in:
Bradley Cicenas 2017-01-05 23:23:55 +00:00
parent 222a030e0b
commit 11376c24e4

View File

@ -1,8 +1,6 @@
package main package main
import ( import (
"fmt"
"github.com/fsouza/go-dockerclient" "github.com/fsouza/go-dockerclient"
) )
@ -18,7 +16,6 @@ type Container struct {
func (c *Container) Collect(client *docker.Client) { func (c *Container) Collect(client *docker.Client) {
go func() { go func() {
fmt.Sprintf("starting collector for container: %s\n", c.id)
opts := docker.StatsOptions{ opts := docker.StatsOptions{
ID: c.id, ID: c.id,
Stats: c.stats, Stats: c.stats,
@ -26,7 +23,6 @@ func (c *Container) Collect(client *docker.Client) {
Done: c.done, Done: c.done,
} }
client.Stats(opts) client.Stats(opts)
fmt.Sprintf("stopping collector for container: %s\n", c.id)
}() }()
go func() { go func() {