Fix incorrect error when performing Barbican Secret Update
Fixes a bug where "'NoneType' object is not iterable" is printed after a secret is updated. Closes-Bug: #1500616 Change-Id: Ib17bc7b1c3b872786601f1e64604529070a131e7
This commit is contained in:
parent
97cc46ac28
commit
4a2007c94f
|
@ -71,7 +71,7 @@ class GetSecret(show.ShowOne):
|
|||
return entity._get_formatted_entity()
|
||||
|
||||
|
||||
class UpdateSecret(show.ShowOne):
|
||||
class UpdateSecret(command.Command):
|
||||
"""Update a secret with no payload in Barbican."""
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
|
|
Loading…
Reference in New Issue