mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Fix 'keypair show' command output"
This commit is contained in:
commit
cf8506d2bd
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class ShowKeypair(show.ShowOne):
|
|||
parsed_args.name)
|
||||
|
||||
info = {}
|
||||
info.update(keypair._info['keypair'])
|
||||
info.update(keypair._info)
|
||||
if not parsed_args.public_key:
|
||||
del info['public_key']
|
||||
return zip(*sorted(six.iteritems(info)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue