mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Reduce severity of missing X_update_interval key
This should be a warning level, since the master supports syncing custom fileservers from salt://_fileservers, and custom fileservers are not likely to have a new config option added for them.
This commit is contained in:
parent
3400f829c4
commit
abc592bfff
1 changed files with 4 additions and 4 deletions
|
@ -407,10 +407,10 @@ class FileserverUpdate(salt.utils.process.SignalHandlingMultiprocessingProcess):
|
|||
interval = self.opts[interval_key]
|
||||
except KeyError:
|
||||
interval = DEFAULT_INTERVAL
|
||||
log.error(
|
||||
'%s key missing from master configuration. This is '
|
||||
'a bug, please report it. Falling back to default '
|
||||
'interval of %d seconds', interval_key, interval
|
||||
log.warning(
|
||||
'%s key missing from configuration. Falling back to '
|
||||
'default interval of %d seconds',
|
||||
interval_key, interval
|
||||
)
|
||||
self.buckets.setdefault(
|
||||
interval, OrderedDict())[(backend, update_func)] = None
|
||||
|
|
Loading…
Add table
Reference in a new issue