Skip to content

Commit

Permalink
fixed SyntaxWarning (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
dericcrago authored Feb 20, 2021
1 parent 7aaecf2 commit ccb1dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_registrationassignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def exec_module(self, **kwargs):
response = old_response
self.results['state'] = response

if self.state is 'present':
if self.state == 'present':
if self.results['state'].get('properties', None) is not None:
registration_definition_id = self.results['state']['properties']['registration_definition_id']
self.results['state']['properties'].clear()
Expand Down

0 comments on commit ccb1dde

Please sign in to comment.