mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add container state checks, set status icon based on state string
This commit is contained in:
@@ -23,6 +23,7 @@ func (c *Container) Collapse() {
|
||||
}
|
||||
|
||||
func (c *Container) Collect() {
|
||||
c.collect.Start()
|
||||
go func() {
|
||||
for metrics := range c.collect.Stream() {
|
||||
c.metrics = metrics
|
||||
|
||||
Reference in New Issue
Block a user