mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30026 from alprs/fix-at_without_tag_job
states.at: fix wrong variable being used
This commit is contained in:
commit
4b8ac20d45
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def present(name, timespec, tag=None, user=None, job=None):
|
|||
return ret
|
||||
|
||||
if tag:
|
||||
stdin = '### SALT: {0}\n{1}'.format(tag, job)
|
||||
stdin = '### SALT: {0}\n{1}'.format(tag, name)
|
||||
else:
|
||||
stdin = name
|
||||
cmd = '{0} {1}'.format(binary, timespec)
|
||||
|
|
Loading…
Add table
Reference in a new issue