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:
Erik Johnson 2018-04-30 13:38:58 -05:00
parent 3400f829c4
commit abc592bfff
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -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