mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
remove unused output lines
This commit is contained in:
parent
222a030e0b
commit
11376c24e4
@ -1,8 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/fsouza/go-dockerclient"
|
||||
)
|
||||
|
||||
@ -18,7 +16,6 @@ type Container struct {
|
||||
func (c *Container) Collect(client *docker.Client) {
|
||||
|
||||
go func() {
|
||||
fmt.Sprintf("starting collector for container: %s\n", c.id)
|
||||
opts := docker.StatsOptions{
|
||||
ID: c.id,
|
||||
Stats: c.stats,
|
||||
@ -26,7 +23,6 @@ func (c *Container) Collect(client *docker.Client) {
|
||||
Done: c.done,
|
||||
}
|
||||
client.Stats(opts)
|
||||
fmt.Sprintf("stopping collector for container: %s\n", c.id)
|
||||
}()
|
||||
|
||||
go func() {
|
||||
|
Loading…
Reference in New Issue
Block a user