2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-17 20:00:19 +00:00

Improve performance for hmc mgt

This commit is contained in:
XuWei
2016-07-13 23:19:21 -04:00
parent 831cc76410
commit b1c9c2f7e3

View File

@ -237,7 +237,9 @@ sub powercmd_boot {
$op,
$d );
unless (@$result[0] != SUCCESS) {
$newnodestatus{$newstat}=[$name] if ($newstat);
if ($newstat) {
push @{ $newnodestatus{$newstat} }, $name;
}
}
push @output, [$name,@$result[1],@$result[0]];
}
@ -364,7 +366,7 @@ sub powercmd {
unless ($Rc != SUCCESS) {
if ($newstat) {
$newnodestatus{$newstat}=[$name];
push @{ $newnodestatus{$newstat} }, $name;
}
}