Skip to content

Commit

Permalink
fix: Fix type of workspace_id in get_region
Browse files Browse the repository at this point in the history
Signed-off-by: lhhyung <[email protected]>
  • Loading branch information
lhhyung committed Dec 10, 2024
1 parent 71b5445 commit d50cc34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/spaceone/inventory_v2/manager/region_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ def delete_region_by_vo(region_vo: Region) -> None:
region_vo.delete()

def get_region(
self, region_id: str, domain_id: str, workspace_id: Union[str, None] = None
self,
region_id: str,
domain_id: str,
workspace_id: Union[list, str, None] = None,
) -> Region:
conditions = {"region_id": region_id, "domain_id": domain_id}

Expand Down

0 comments on commit d50cc34

Please sign in to comment.