mirror of
https://github.com/bcicen/ctop.git
synced 2026-01-21 13:46:42 +08:00
refactor status widget, include health indicator
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user