summaryrefslogtreecommitdiff
path: root/zuul/driver/gerrit
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/driver/gerrit')
-rw-r--r--zuul/driver/gerrit/gerrittrigger.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/zuul/driver/gerrit/gerrittrigger.py b/zuul/driver/gerrit/gerrittrigger.py
index cfedd4e14..67608ad81 100644
--- a/zuul/driver/gerrit/gerrittrigger.py
+++ b/zuul/driver/gerrit/gerrittrigger.py
@@ -63,16 +63,6 @@ class GerritTrigger(BaseTrigger):
return efilters
-def validate_conf(trigger_conf):
- """Validates the layout's trigger data."""
- events_with_ref = ('ref-updated', )
- for event in trigger_conf:
- if event['event'] not in events_with_ref and event.get('ref', False):
- raise v.Invalid(
- "The event %s does not include ref information, Zuul cannot "
- "use ref filter 'ref: %s'" % (event['event'], event['ref']))
-
-
def getSchema():
variable_dict = v.Schema(dict)