Fix 'keypair show' command output
The attempt to get the data dict out of the keypair resource object uses a key 'keypair. This is incorrect, no key is required. Closes-Bug: 1289594 Change-Id: I7887119c1d800d389cb6f63ea7847bea1e25bb52
This commit is contained in:
		| @@ -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))) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dean Troyer
					Dean Troyer