Merge pull request #23882 from garethgreenaway/23792_2015_5_wrong_return_code

Fixes to scheduler in 2015.5
This commit is contained in:
Nicole Thomas 2015-05-18 16:09:24 -06:00
commit b97a48c7f5

View file

@ -292,7 +292,7 @@ def add(name, **kwargs):
if name in current_schedule:
ret['comment'] = 'Job {0} already exists in schedule.'.format(name)
ret['result'] = True
ret['result'] = False
return ret
if not name: