Merge pull request #30026 from alprs/fix-at_without_tag_job

states.at: fix wrong variable being used
This commit is contained in:
Mike Place 2015-12-28 08:21:23 -07:00
commit 4b8ac20d45

View file

@ -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)