Skip to content

Commit

Permalink
Merge pull request #28 from whdalsrnt/master
Browse files Browse the repository at this point in the history
fix: change filter by resource_group
  • Loading branch information
whdalsrnt authored Dec 18, 2023
2 parents 48f2284 + 0ec8fff commit 766560d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/spaceone/secret/service/secret_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ def create(self, params):
params["project_id"] = "*"

if "trusted_secret_id" in params:
if workspace_id:
workspace_id = [workspace_id, "*"]

trusted_secret_mgr = self.locator.get_manager("TrustedSecretManager")
trusted_secret_mgr.get_trusted_secret(
params["trusted_secret_id"], domain_id, workspace_id
Expand Down

0 comments on commit 766560d

Please sign in to comment.