mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix the get property (#55745)
This commit is contained in:
parent
dbc64ae64c
commit
c7bf3e035b
1 changed files with 1 additions and 1 deletions
|
@ -1227,7 +1227,7 @@ class AzureRMAuth(object):
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue