mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-02 11:37:07 +00:00
Merge pull request #3546 from xuweibj/doutput
Will not print EnergyManager error msg when run rvitals power
This commit is contained in:
commit
b5e5b00c43
@ -6702,9 +6702,9 @@ sub vitals {
|
||||
if ($sensor_filters{energy}) {
|
||||
if ($iem_support) {
|
||||
push @{ $sessdata->{sensorstoread} }, "energy";
|
||||
} elsif (not $doall) {
|
||||
xCAT::SvrUtils::sendmsg([ 1, ":Energy data requires additional IBM::EnergyManager plugin in conjunction with IMM managed IBM equipment" ], $callback, $sessdata->{node}, %allerrornodes);
|
||||
}
|
||||
} #elsif (not $doall) {
|
||||
#xCAT::SvrUtils::sendmsg([ 1, ":Energy data requires additional IBM::EnergyManager plugin in conjunction with IMM managed IBM equipment" ], $callback, $sessdata->{node}, %allerrornodes);
|
||||
#}
|
||||
|
||||
#my @energies;
|
||||
#($rc,@energies)=readenergy();
|
||||
|
Loading…
x
Reference in New Issue
Block a user