Merge "Fix 'keypair show' command output"
This commit is contained in:
commit
cf8506d2bd
@ -146,7 +146,7 @@ class ShowKeypair(show.ShowOne):
|
|||||||
parsed_args.name)
|
parsed_args.name)
|
||||||
|
|
||||||
info = {}
|
info = {}
|
||||||
info.update(keypair._info['keypair'])
|
info.update(keypair._info)
|
||||||
if not parsed_args.public_key:
|
if not parsed_args.public_key:
|
||||||
del info['public_key']
|
del info['public_key']
|
||||||
return zip(*sorted(six.iteritems(info)))
|
return zip(*sorted(six.iteritems(info)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user