Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteYue committed Jun 27, 2024
1 parent f54d166 commit 70684dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private String constructEndpoint(Map<String, String> properties, S3URI s3uri) th
}
} else {
String bucket = s3uri.getBucket();
String accountName = getOrDefaultAndRemove(properties, S3Properties.ACCESS_KEY, "");
String accountName = properties.getOrDefault(S3Properties.ACCESS_KEY, "");
if (accountName.isEmpty()) {
throw new AnalysisException(String.format("Properties '%s' is required.", S3Properties.ACCESS_KEY));
}
Expand Down

0 comments on commit 70684dd

Please sign in to comment.