Skip to content

Commit

Permalink
WHIRR-232. NPE for stopped instances on EC2.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/incubator/whirr/trunk@1068271 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
tomwhite committed Feb 8, 2011
1 parent b72b803 commit 5931284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -38,6 +38,8 @@ Trunk (unreleased changes)
WHIRR-217. Log files should not be included in tarball or checked
by RAT (tomwhite via asavu)

WHIRR-232. NPE for stopped instances on EC2. (tomwhite)

Release 0.3.0 - 2011-01-15

NEW FEATURES
Expand Down
Expand Up @@ -99,7 +99,7 @@ private Predicate<NodeMetadata> toNodeMetadataPredicate(final ClusterSpec cluste
@Override
public boolean apply(NodeMetadata nodeMetadata) {
// Check it's the correct cluster
if (!nodeMetadata.getGroup().equals(clusterSpec.getClusterName())) {
if (!clusterSpec.getClusterName().equals(nodeMetadata.getGroup())) {
return false;
}
Instance instance = nodeIdToInstanceMap.get(nodeMetadata.getId());
Expand Down

0 comments on commit 5931284

Please sign in to comment.