Commit 28fcdec2 by Matt Martz

Use new shared rax_to_dict and normalize the services key into something that makes sense

parent 88acb487
...@@ -65,10 +65,8 @@ def cloud_identity(module, state, identity): ...@@ -65,10 +65,8 @@ def cloud_identity(module, state, identity):
) )
changed = False changed = False
for key, value in vars(identity).iteritems(): instance.update(rax_to_dict(identity))
if (isinstance(value, NON_CALLABLES) and instance['services'] = instance.get('services', {}).keys()
not key.startswith('_')):
instance[key] = value
if state == 'present': if state == 'present':
if not identity.authenticated: if not identity.authenticated:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment