2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-30 16:21:11 +00:00

Will not print EnergyManager error msg when run rvitals power

This commit is contained in:
XuWei
2017-07-27 02:21:43 -04:00
parent fe04623b23
commit f3e9b5a2e2

View File

@@ -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();