fix bug 2873512 rvitals ouput on a group not sorted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0c94f2e78a
commit
ad72ad371f
@ -373,9 +373,11 @@ sub all {
|
||||
@{voltage(@_)},
|
||||
@{state(@_)},
|
||||
@{power(@_)},
|
||||
@{lcds(@_)},
|
||||
@{lcds(@_)},
|
||||
);
|
||||
return( \@values );
|
||||
|
||||
my @sorted_values = sort {$a->[0] cmp $b->[0]} @values;
|
||||
return( \@sorted_values );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user