1
0
Fork 0
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:
Yuwei Zhou 2019-04-26 10:07:58 +08:00 committed by Zim Kalinowski
parent dbc64ae64c
commit c7bf3e035b

View file

@ -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