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