mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #23517 from garethgreenaway/23512_2015_5_returners_with_profiles
fix to returners
This commit is contained in:
commit
32838cd888
1 changed files with 2 additions and 2 deletions
|
@ -208,9 +208,9 @@ def _fetch_profile_opts(
|
|||
log.info('Using profile %s', profile)
|
||||
|
||||
if 'config.option' in __salt__:
|
||||
creds = cfg(profile)
|
||||
else:
|
||||
creds = cfg.get(profile)
|
||||
else:
|
||||
creds = cfg(profile)
|
||||
|
||||
if not creds:
|
||||
return {}
|
||||
|
|
Loading…
Add table
Reference in a new issue