Skip to content

Commit

Permalink
Merge pull request #40 from jihyungSong/master
Browse files Browse the repository at this point in the history
Modify list_secrets_from_query
  • Loading branch information
jihyungSong committed Mar 17, 2023
2 parents 71a770c + 3c68a8c commit 1a08dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/monitoring/manager/secret_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_secret_from_resource(self, resource, data_source_vo, domain_id):

if data_source_plugin_info := data_source_vo.plugin_info:
if secret_id := data_source_plugin_info.secret_id:
secret = self.list_secrets_from_query({'secret_id': secret_id})[0]
secret = self.list_secrets_from_query({'secret_id': secret_id}, domain_id)[0]

if not secret:
resource_secrets = []
Expand Down

0 comments on commit 1a08dcd

Please sign in to comment.