Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Add missing continue statement in S3 logic so that an NPE is not thro…
Browse files Browse the repository at this point in the history
…wn when a bucket has been deleted but still shows up in the listing result (#130)
  • Loading branch information
fieldju authored Apr 4, 2019
1 parent 04f3983 commit 244c9cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

group=com.nike
artifactId=cerberus-lifecycle-cli
version=4.7.1
version=4.7.2
1 change: 1 addition & 0 deletions src/main/java/com/nike/cerberus/store/ConfigStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ private String findConfigBucketInSuppliedConfigRegion() {
}
if (bucketLocationResult == null) {
logger.debug("Failed to determine region for bucket: {} skipping...", bucketName);
continue;
}
}
Regions bucketRegion = StringUtils.equals("US", bucketLocationResult) ? Regions.US_EAST_1 : Regions.fromName(bucketLocationResult);
Expand Down

0 comments on commit 244c9cc

Please sign in to comment.