commit | 7611ca021da863e826491a90cf9551402eac9bda | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@redhat.com> | Fri Aug 04 09:38:34 2017 -0700 |
committer | James E. Blair <jeblair@redhat.com> | Fri Aug 04 09:38:34 2017 -0700 |
tree | d61f037e7fafd05836434d3dd1e41fb4ff27d755 | |
parent | f5cdd49fc31ddb678e225a6fa181683afab30d9b [diff] |
Remove score attribute from sqlreporter config This is no longer required. Change-Id: I72afd0aa745dd34b7e585d894af7a19e642016fd
diff --git a/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml b/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml index 0cb1d04..a221855 100644 --- a/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml +++ b/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml
@@ -7,15 +7,12 @@ success: gerrit: Verified: 1 - resultsdb: - score: 1 + resultsdb: {} failure: gerrit: Verified: -1 - resultsdb: - score: -1 - resultsdb_failures: - score: -1 + resultsdb: {} + resultsdb_failures: {} - job: name: project-merge
diff --git a/zuul/driver/sql/sqlreporter.py b/zuul/driver/sql/sqlreporter.py index 6ec05a8..6d1d087 100644 --- a/zuul/driver/sql/sqlreporter.py +++ b/zuul/driver/sql/sqlreporter.py
@@ -79,7 +79,5 @@ def getSchema(): - sql_reporter = v.Schema({ - 'score': int, - }) + sql_reporter = v.Schema({}) return sql_reporter