mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #1353: bug in the state colour function
This commit is contained in:
parent
147cf3c274
commit
b0e0f0de12
@ -217,7 +217,9 @@ module CLIHelper
|
||||
col=@default_columns[i]
|
||||
|
||||
str=format_str(col, dat)
|
||||
CLIHelper.color_state(str) if i=stat_column
|
||||
str=CLIHelper.color_state(str) if i==stat_column
|
||||
|
||||
str
|
||||
}.join(' ')
|
||||
}.join("\n")
|
||||
rescue Errno::EPIPE
|
||||
|
Loading…
x
Reference in New Issue
Block a user