refactor status widget, include health indicator

This commit is contained in:
Bradley Cicenas
2017-08-28 01:45:14 +00:00
parent add44c0f18
commit 05242a83f0
2 changed files with 54 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ func (row *Compact) SetMeta(k, v string) {
case "state":
row.Status.Set(v)
case "health":
row.Name.Color(v)
row.Status.SetHealth(v)
}
}