mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Correct an inaccurate warning when top_file_merging_strategy == merge_all (#38233)
The merge_all strategy uses all configured SLS files, so there is no danger from "merging" like there is in the default strategy. Therefore, this log entry is spurious when multiple top files exist and the merging strategy is set to "merge_all".
This commit is contained in:
parent
ba62fcf2ec
commit
82b1b77631
1 changed files with 1 additions and 1 deletions
|
@ -2586,7 +2586,7 @@ class BaseHighState(object):
|
|||
tops[saltenv].append({})
|
||||
log.debug('No contents loaded for env: {0}'.format(saltenv))
|
||||
|
||||
if found > 1 and merging_strategy.startswith('merge'):
|
||||
if found > 1 and merging_strategy == 'merge':
|
||||
log.warning(
|
||||
'top_file_merging_strategy is set to \'%s\' and '
|
||||
'multiple top files were found. Merging order is not '
|
||||
|
|
Loading…
Add table
Reference in a new issue