Skip to content

Commit

Permalink
Fix the get property (ansible#55745)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwzho authored and Zim Kalinowski committed Apr 26, 2019
1 parent dbc64ae commit c7bf3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/module_utils/azure_rm_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ def _get_credentials(self, params):

if auth_source == 'credential_file':
self.log("Retrieving credentials from credential file")
profile = params.get('profile', 'default')
profile = params.get('profile') or 'default'
default_credentials = self._get_profile(profile)
return default_credentials

Expand Down

0 comments on commit c7bf3e0

Please sign in to comment.