~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to clc/modules/cluster-manager/src/main/java/com/eucalyptus/cluster/ClusterNodeState.java

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
    after.append( "-> AFTER: [" );
179
179
    for ( ResourceType rsc : rscUpdate ) {
180
180
      VmTypeAvailability vmAvailable = this.typeMap.get( rsc.getInstanceType().getName() );
 
181
      if ( vmAvailable == null ) continue;
181
182
      before.append( String.format( " %s available=%d/%d", vmAvailable.getType( ).getName( ), vmAvailable.getAvailable( ), vmAvailable.getMax( ) ) );
182
 
      if ( vmAvailable == null ) continue;
183
183
      vmAvailable.setAvailable( rsc.getAvailableInstances() );
184
184
      vmAvailable.decrement( outstandingCount );
185
185
      vmAvailable.setMax( rsc.getMaxInstances() );