-Fix problem where first step of chain was erroneously executed twice
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
220b3d6c27
commit
bb0c55378d
@ -309,9 +309,10 @@ sub getdestiny {
|
||||
next;
|
||||
}
|
||||
unless ($ref->{currstate}) { #Has a record, but not yet in a state...
|
||||
my @chain = split /,/,$ref->{chain};
|
||||
$ref->{currstate} = shift @chain;
|
||||
$chaintab->setNodeAttribs($node,{currstate=>$ref->{currstate}});
|
||||
return nextdestiny(0); #Becomes a nextdestiny...
|
||||
# my @chain = split /,/,$ref->{chain};
|
||||
# $ref->{currstate} = shift @chain;
|
||||
# $chaintab->setNodeAttribs($node,{currstate=>$ref->{currstate}});
|
||||
}
|
||||
my %response;
|
||||
$response{name}=[$node];
|
||||
|
Loading…
Reference in New Issue
Block a user