mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Default options were never returned if omit_pillar flag was set to false
This commit is contained in:
parent
2a3ac0b7c9
commit
e05cc0c10d
@ -92,7 +92,7 @@ def option(
|
||||
if not omit_pillar:
|
||||
if value in __pillar__:
|
||||
return __pillar__[value]
|
||||
elif value in DEFAULTS:
|
||||
if value in DEFAULTS:
|
||||
return DEFAULTS[value]
|
||||
return default
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user