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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user