Skip to content

Commit

Permalink
Update exasol-s3/src/main/java/com/exasol/spark/s3/BaseQueryGenerator…
Browse files Browse the repository at this point in the history
….java

Co-authored-by: Christoph Pirkl <[email protected]>
  • Loading branch information
Shmuma and kaklakariada authored Oct 19, 2023
1 parent 6106644 commit dc36bc4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ protected Map.Entry<String, String> getAWSCredentials() {

if (this.options.containsKey(Option.AWS_ACCESS_KEY_ID.key())) {
awsAccessKeyId = this.options.get(Option.AWS_ACCESS_KEY_ID.key());
if (this.options.containsKey(Option.AWS_SECRET_ACCESS_KEY.key()))
if (this.options.containsKey(Option.AWS_SECRET_ACCESS_KEY.key())) {
awsSecretAccessKey = this.options.get(Option.AWS_SECRET_ACCESS_KEY.key());
}
} else {
// Retrieve access key and secret access key from environment variables
awsAccessKeyId = System.getenv(ACCESS_KEY_ENV_VAR);
Expand Down

0 comments on commit dc36bc4

Please sign in to comment.