Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #164 from mozilla-services/fix-158
Browse files Browse the repository at this point in the history
Don't include run_id in the agents if not known.
  • Loading branch information
tarekziade committed Sep 18, 2013
2 parents 3f654a2 + 9ea9b90 commit 728d096
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion loads/transport/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ def _handle_commands(self, message):
elif command in ('STATUS', '_STATUS'):
status = {}
run_id = data.get('run_id')
status['run_id'] = run_id
if run_id is not None:
status['run_id'] = run_id

for pid, (proc, _run_id) in self._workers.items():
if run_id is not None and run_id != _run_id:
Expand Down

0 comments on commit 728d096

Please sign in to comment.