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

Commit 3409c66

Browse files
authored
fix(secretsManager): remove 'undefined' log message when AWS region is not defined in the ExternalSecret manifest (#641)
1 parent 9394316 commit 3409c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/backends/secrets-manager-backend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SecretsManagerBackend extends KVBackend {
2727
* @returns {Promise} Promise object representing secret property value.
2828
*/
2929
async _get ({ key, specOptions: { roleArn, region }, keyOptions: { versionStage = 'AWSCURRENT', versionId = null } }) {
30-
this._logger.info(`fetching secret property ${key} with role: ${roleArn || 'pods role'} in region ${region}`)
30+
this._logger.info(`fetching secret property ${key} with role: ${roleArn || 'pods role'} in region: ${region || 'pods region'}`)
3131

3232
let client = this._client
3333
let factoryArgs = null

0 commit comments

Comments
 (0)