mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
closes #14580
This commit is contained in:
parent
855fd9f054
commit
d1f767be4f
@ -296,7 +296,7 @@ def present(name,
|
||||
return ret
|
||||
|
||||
if data == 'updated':
|
||||
ret['comment'] = 'Cron {0} updated'.format(name, user)
|
||||
ret['comment'] = 'Cron {0} updated'.format(name)
|
||||
ret['changes'] = {user: name}
|
||||
return ret
|
||||
ret['comment'] = ('Cron {0} for user {1} failed to commit with error \n{2}'
|
||||
@ -576,7 +576,7 @@ def env_present(name,
|
||||
return ret
|
||||
|
||||
if data == 'updated':
|
||||
ret['comment'] = 'Cron env {0} updated'.format(name, user)
|
||||
ret['comment'] = 'Cron env {0} updated'.format(name)
|
||||
ret['changes'] = {user: name}
|
||||
return ret
|
||||
ret['comment'] = ('Cron env {0} for user {1} failed to commit with error \n{2}'
|
||||
|
Loading…
Reference in New Issue
Block a user