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:
Thayne Harbaugh 2014-05-21 16:36:02 -06:00
parent af00da4265
commit d7cb9b7c55

View File

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