Fix the get property (#55745)

pull/55795/head
Yuwei Zhou 6 years ago committed by Zim Kalinowski
parent dbc64ae64c
commit c7bf3e035b

@ -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…
Cancel
Save