From 703f1077885158e4dbda7f97a5f012448e84c80c Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Tue, 21 Jan 2020 13:33:02 +0000 Subject: [PATCH] Fix use of 'comment-added' event type In [0] an event type of 'comments-added' was used for the ironic channel, but the correct event type is 'comment-added'. [0] https://review.opendev.org/698091 Change-Id: Idd0638357aa4ed751a7e862c0e514e10b468ee9a --- gerritbot/channels.yaml | 2 +- tools/irc_tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gerritbot/channels.yaml b/gerritbot/channels.yaml index f3ffb18293..d7a271e33c 100755 --- a/gerritbot/channels.yaml +++ b/gerritbot/channels.yaml @@ -993,7 +993,7 @@ openstack-ironic: events: - patchset-created - change-merged - - comments-added + - comment-added - x-vrif-minus-2 projects: - openstack/bifrost diff --git a/tools/irc_tests.py b/tools/irc_tests.py index e6f90b5547..0d4a3f1a19 100755 --- a/tools/irc_tests.py +++ b/tools/irc_tests.py @@ -35,7 +35,7 @@ def access_gerrit_check(): print("Basic check of gerritbot/channels.yaml") REQUIRED_ENTRIES = ("branches", "events", "projects") - VALID_EVENTS = ("change-merged", "comments-added", + VALID_EVENTS = ("change-merged", "comment-added", "patchset-created", "x-vrif-minus-2") for channel in gerrit_config: for entry in REQUIRED_ENTRIES: