Fix type-show command with name
This Patch will fix the type-show command with name. Change-Id: I86976221995c2ed3ce43041c0f7bfd8cd13e4d0d Closes-Bug: #1782672
This commit is contained in:
parent
649030eff9
commit
6d4e4a80c3
@ -3818,8 +3818,7 @@ def do_type_list(cs, args):
|
||||
help='Name or ID of the share type.')
|
||||
def do_type_show(cs, args):
|
||||
"""Show share type details."""
|
||||
share_type = cs.share_types.show(args.share_type)
|
||||
|
||||
share_type = _find_share_type(cs, args.share_type)
|
||||
default = None
|
||||
if (share_type and not hasattr(share_type, 'is_default')):
|
||||
default = cs.share_types.get()
|
||||
|
4
releasenotes/notes/bug_1782672-1954059b373f03de.yaml
Normal file
4
releasenotes/notes/bug_1782672-1954059b373f03de.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed bug 1782672. Name can now be used in type-show command.
|
Loading…
Reference in New Issue
Block a user