mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
A missing schedule function should be a "warn" rather than "info".
Fix the ordering of the fields in the message format.
This commit is contained in:
parent
af00da4265
commit
d7cb9b7c55
@ -305,9 +305,9 @@ class Schedule(object):
|
||||
else:
|
||||
func = None
|
||||
if func not in self.functions:
|
||||
log.info(
|
||||
log.warn(
|
||||
'Invalid function: {0} in job {1}. Ignoring.'.format(
|
||||
job, func
|
||||
func, job
|
||||
)
|
||||
)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user