mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #23882 from garethgreenaway/23792_2015_5_wrong_return_code
Fixes to scheduler in 2015.5
This commit is contained in:
commit
b97a48c7f5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue