Fix project field in logstash job submission

We were sending the whole project dict instead of the name.

Change-Id: I911b0edb52ae663f636cc57142de9959432312a8
This commit is contained in:
James E. Blair
2017-09-14 16:51:59 -06:00
parent e780f330ec
commit 5ef48fa65f
@@ -111,7 +111,7 @@ class LogMatcher(object):
# TODO: should be build_executor, or removed completely
fields["build_master"] = zuul['executor']['hostname']
fields["project"] = zuul['project']
fields["project"] = zuul['project']['name']
# The voting value is "1" for voting, "0" for non-voting
fields["voting"] = int(zuul['voting'])
# TODO(clarkb) can we do better without duplicated data here?