mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
remove unused attribute
This commit is contained in:
parent
987da85db3
commit
dbe657c9e1
@ -8,7 +8,6 @@ import (
|
||||
type Container struct {
|
||||
id string
|
||||
name string
|
||||
dead bool
|
||||
metrics collector.Metrics
|
||||
collect collector.Collector
|
||||
widgets widgets.ContainerWidgets
|
||||
@ -31,6 +30,5 @@ func (c *Container) Collect() {
|
||||
c.widgets.SetMem(metrics.MemUsage, metrics.MemLimit, metrics.MemPercent)
|
||||
c.widgets.SetNet(metrics.NetRx, metrics.NetTx)
|
||||
}
|
||||
c.dead = true
|
||||
}()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user