Permalink
Browse files

topo fix

  • Loading branch information...
1 parent da48119 commit 2eba417eee68b9ad2f665cf1d8d80108da1bfbf9 Daniel Nurmi committed Dec 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 clc/modules/msgs/src/main/java/com/eucalyptus/component/Topology.java
@@ -228,7 +228,7 @@ public static void populateServices( ServiceConfiguration config, BaseMessage ms
for ( ServiceConfiguration s : c.services( ) ) {
if ( !serviceList.contains( s ) && State.DISABLED.apply( s ) ) {
msg.get_disabledServices( ).add( typeMapper.apply( s ) );
- } else if ( !serviceList.contains( s ) && State.DISABLED.apply( s ) ) {
+ } else if ( !serviceList.contains( s ) && State.NOTREADY.apply( s ) ) {
msg.get_notreadyServices( ).add( typeMapper.apply( s ) );
}
}
@@ -245,7 +245,7 @@ public static void populateServices( ServiceConfiguration config, BaseMessage ms
} else {
if ( !serviceList.contains( s ) && State.DISABLED.apply( s ) ) {
msg.get_disabledServices( ).add( typeMapper.apply( s ) );
- } else if ( !serviceList.contains( s ) && State.DISABLED.apply( s ) ) {
+ } else if ( !serviceList.contains( s ) && State.NOTREADY.apply( s ) ) {
msg.get_notreadyServices( ).add( typeMapper.apply( s ) );
}
}

0 comments on commit 2eba417

Please sign in to comment.