Fix the Create Share Group from Snap Shot create.

Closes-Bug: #1990013
Change-Id: Iba5ca5eed1abf2e28d365295cd3b641c565d7fc1
This commit is contained in:
sneha.gaddam 2022-09-16 20:48:43 +00:00 committed by sneha gaddam
parent e6c337b7ae
commit 7a6f7097f7
2 changed files with 6 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class CreateShareGroup(command.ShowOne):
source_share_group_snapshot = None
if parsed_args.source_share_group_snapshot:
source_share_group_snapshot = osc_utils.find_resource(
share_client.source_share_group_snapshots,
share_client.share_group_snapshots,
parsed_args.source_share_group_snapshot).id
body = {

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Create Share group from snapshot failed due to a bug in OSC.
The issue is fixed and its working as expected.