Permalink
Browse files

fix to restoring address mappings

  • Loading branch information...
2 parents 6cdf5cb + 9951938 commit 87a92d9f649b22b80b7f184f3d59b9716559db7b @grze grze committed Feb 2, 2012
View
4 ...es/cluster-manager/src/main/java/com/eucalyptus/address/AbstractSystemAddressManager.java
@@ -290,8 +290,10 @@ private static VmInstance maybeFindVm( final String instanceId, final String pub
if ( publicIp.equals( vm.getPublicAddress( ) ) ) {
Logs.extreme( ).debug( "Found vm which claims this address: " + vm.getInstanceId( ) + " " + vm.getState( ) + " " + publicIp );
}
+ return vm;
+ } else {
+ return null;
}
- return vm;
}
private static void ensureAllocated( final Address addr, final VmInstance vm ) {

0 comments on commit 87a92d9

Please sign in to comment.