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
|
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user