mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Job already exists in schedule, should return False.
This commit is contained in:
parent
13facbf077
commit
37dbde6d57
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