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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user