Skip to content

Commit

Permalink
fix chris' fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Nurmi committed Feb 4, 2012
2 parents 580c6bd + a921a47 commit b7fefa0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -438,7 +438,7 @@ public StartInstancesResponseType startInstances( final StartInstancesType reque
try {//scope for allocInfo
AdmissionControl.run( ).apply( allocInfo );
PrivateNetworkIndex vmIdx = allocInfo.getAllocationTokens( ).get( 0 ).getNetworkIndex( );
if ( vmIdx != null ) {
if ( vmIdx != null && !PrivateNetworkIndex.bogus( ).equals( vmIdx ) ) {
vmIdx.set( vm );
vm.setNetworkIndex( vmIdx );
}
Expand Down

0 comments on commit b7fefa0

Please sign in to comment.