Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
fix(secretsManager): remove 'undefined' log message when AWS region i…
Browse files Browse the repository at this point in the history
…s not defined in the ExternalSecret manifest (#641)
  • Loading branch information
cebidhem authored Feb 25, 2021
1 parent 9394316 commit 3409c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backends/secrets-manager-backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SecretsManagerBackend extends KVBackend {
* @returns {Promise} Promise object representing secret property value.
*/
async _get ({ key, specOptions: { roleArn, region }, keyOptions: { versionStage = 'AWSCURRENT', versionId = null } }) {
this._logger.info(`fetching secret property ${key} with role: ${roleArn || 'pods role'} in region ${region}`)
this._logger.info(`fetching secret property ${key} with role: ${roleArn || 'pods role'} in region: ${region || 'pods region'}`)

let client = this._client
let factoryArgs = null
Expand Down

0 comments on commit 3409c66

Please sign in to comment.