We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f40259 + 3e97e17 commit f5a2811Copy full SHA for f5a2811
1 file changed
openstackclient/identity/v3/consumer.py
@@ -46,9 +46,8 @@ def take_action(self, parsed_args):
46
consumer = identity_client.oauth1.consumers.create(
47
parsed_args.description
48
)
49
- info = {}
50
- info.update(consumer._info)
51
- return zip(*sorted(six.iteritems(info)))
+ consumer._info.pop('links', None)
+ return zip(*sorted(six.iteritems(consumer._info)))
52
53
54
class DeleteConsumer(command.Command):
@@ -147,6 +146,5 @@ def take_action(self, parsed_args):
147
146
consumer = utils.find_resource(
148
identity_client.oauth1.consumers, parsed_args.consumer)
149
150
151
152
0 commit comments