mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 19:57:42 +08:00
[FIX] Fix status color display bug
This commit is contained in:
parent
8661fd2e75
commit
c3f5609b6a
@ -140,7 +140,7 @@ func handleResult(serviceTable *termtables.Table, v *client.HostNode) {
|
||||
if v.Type == client.OutOfDisk || v.Type == client.MemoryPressure || v.Type == client.DiskPressure || v.Type == client.InstallNotReady {
|
||||
formatReady = "\033[0;32;32m false \033[0m"
|
||||
} else {
|
||||
formatReady = "\033[0;31;31m false \033[0m"
|
||||
formatReady = "\033[0;31;31m true \033[0m"
|
||||
}
|
||||
} else {
|
||||
formatReady = "\033[0;32;32m true \033[0m"
|
||||
|
Loading…
Reference in New Issue
Block a user