add container state checks, set status icon based on state string

This commit is contained in:
Bradley Cicenas
2017-02-02 07:09:43 +00:00
parent 9671fffbe9
commit 987da85db3
7 changed files with 53 additions and 26 deletions

View File

@@ -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