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:
Fernando Diaz 2015-09-28 23:35:08 -05:00
parent 97cc46ac28
commit 4a2007c94f
1 changed files with 1 additions and 1 deletions

View File

@ -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):