mirror of https://github.com/divan/expvarmon.git
varKind lost rename
This commit is contained in:
parent
bbb021723c
commit
b2b9291430
2
ui.go
2
ui.go
|
@ -154,7 +154,7 @@ func StatusLine(s *Service) string {
|
||||||
return fmt.Sprintf("[R] %s", s.Name)
|
return fmt.Sprintf("[R] %s", s.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
func colorByKind(kind varKind) termui.Attribute {
|
func colorByKind(kind VarKind) termui.Attribute {
|
||||||
switch kind {
|
switch kind {
|
||||||
case KindMemory:
|
case KindMemory:
|
||||||
return termui.ColorRed | termui.AttrBold
|
return termui.ColorRed | termui.AttrBold
|
||||||
|
|
Loading…
Reference in New Issue