move the action setting out of the loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9cc7c080d3
commit
c764d28959
@ -405,13 +405,14 @@ sub lcds {
|
||||
return $result;
|
||||
}
|
||||
$type = $$d[4];
|
||||
if( $type =~ /lpar/ ) {
|
||||
$action = "query_lcds";
|
||||
} else {
|
||||
$action = "cec_query_lcds";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( $type =~ /lpar/ ) {
|
||||
$action = "query_lcds";
|
||||
} else {
|
||||
$action = "cec_query_lcds";
|
||||
}
|
||||
|
||||
$$newd[0] = $newids;
|
||||
$result = enumerate_lcds($request, $newnames, $newd, $action, $only_lcds);
|
||||
|
Loading…
Reference in New Issue
Block a user