From 630f96e175e16f6e71daceaeefbdfee92e53f94d Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Thu, 15 Mar 2012 09:56:46 -0600 Subject: [PATCH] fix caps in jobs.active --- salt/runners/jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/runners/jobs.py b/salt/runners/jobs.py index 7ce378470b..e03492722e 100644 --- a/salt/runners/jobs.py +++ b/salt/runners/jobs.py @@ -35,7 +35,7 @@ def active(): 'Target': job['tgt'], 'Target-type': job['tgt_type']} else: - ret[job['jid']]['running'].append({minion: job['pid']}) + ret[job['jid']]['Running'].append({minion: job['pid']}) if os.path.isdir(job_dir): for jid in os.listdir(job_dir): if not jid in ret: @@ -47,7 +47,7 @@ def active(): if minion.startswith('.'): continue if os.path.exists(os.path.join(jid_dir, minion)): - ret[jid]['returned'].append(minion) + ret[jid]['Returned'].append(minion) print yaml.dump(ret)