Skip to content

Commit

Permalink
https://issues.jboss.org/browse/JGRP-2083
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jun 27, 2016
1 parent e321303 commit 4ee4247
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/org/jgroups/protocols/S3_PING.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ protected void validateProperties() {
} else if (pre_signed_put_url != null || pre_signed_delete_url != null) {
throw new IllegalArgumentException("pre_signed_put_url and pre_signed_delete_url must both be set or both unset");
}
if (prefix != null && location != null) {
throw new IllegalArgumentException("set either prefix or location, but not both");
}
//if (prefix != null && location != null) {
// throw new IllegalArgumentException("set either prefix or location, but not both");
//}
if (prefix != null && (access_key == null || secret_access_key == null)) {
throw new IllegalArgumentException("access_key and secret_access_key must be set when setting prefix");
}
Expand Down

0 comments on commit 4ee4247

Please sign in to comment.