Skip to content

Commit

Permalink
Fix build error after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lordgamez committed Oct 21, 2020
1 parent 35b5de8 commit 5ecdec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/aws/processors/PutS3Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ minifi::utils::optional<Aws::Auth::AWSCredentials> PutS3Object::getAWSCredential
properties->loadConfigureFile(credential_file.c_str());
std::string access_key;
std::string secret_key;
if (properties->get("accessKey", access_key) && !access_key.empty() && properties->get("secretKey", secret_key) && !secret_key.empty()) {
if (properties->getString("accessKey", access_key) && !access_key.empty() && properties->getString("secretKey", secret_key) && !secret_key.empty()) {
Aws::Auth::AWSCredentials creds(access_key, secret_key);
return minifi::utils::make_optional<Aws::Auth::AWSCredentials>(creds);
}
Expand Down

0 comments on commit 5ecdec8

Please sign in to comment.