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':
|
if auth_source == 'credential_file':
|
||||||
self.log("Retrieving credentials from 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)
|
default_credentials = self._get_profile(profile)
|
||||||
return default_credentials
|
return default_credentials
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue