mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip config type checking for sdb values (#37560)
This commit is contained in:
parent
453319b50a
commit
ac754dbac5
1 changed files with 5 additions and 0 deletions
|
@ -1500,6 +1500,11 @@ def _validate_opts(opts):
|
|||
if isinstance(val, VALID_OPTS[key]):
|
||||
continue
|
||||
|
||||
# We don't know what data type sdb will return at run-time so we
|
||||
# simply cannot check it for correctness here at start-time.
|
||||
if isinstance(val, str) and val.startswith('sdb://'):
|
||||
continue
|
||||
|
||||
if hasattr(VALID_OPTS[key], '__call__'):
|
||||
try:
|
||||
VALID_OPTS[key](val)
|
||||
|
|
Loading…
Add table
Reference in a new issue