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
This commit is contained in:
parent
98402d34e3
commit
703f107788
|
@ -993,7 +993,7 @@ openstack-ironic:
|
||||||
events:
|
events:
|
||||||
- patchset-created
|
- patchset-created
|
||||||
- change-merged
|
- change-merged
|
||||||
- comments-added
|
- comment-added
|
||||||
- x-vrif-minus-2
|
- x-vrif-minus-2
|
||||||
projects:
|
projects:
|
||||||
- openstack/bifrost
|
- openstack/bifrost
|
||||||
|
|
|
@ -35,7 +35,7 @@ def access_gerrit_check():
|
||||||
|
|
||||||
print("Basic check of gerritbot/channels.yaml")
|
print("Basic check of gerritbot/channels.yaml")
|
||||||
REQUIRED_ENTRIES = ("branches", "events", "projects")
|
REQUIRED_ENTRIES = ("branches", "events", "projects")
|
||||||
VALID_EVENTS = ("change-merged", "comments-added",
|
VALID_EVENTS = ("change-merged", "comment-added",
|
||||||
"patchset-created", "x-vrif-minus-2")
|
"patchset-created", "x-vrif-minus-2")
|
||||||
for channel in gerrit_config:
|
for channel in gerrit_config:
|
||||||
for entry in REQUIRED_ENTRIES:
|
for entry in REQUIRED_ENTRIES:
|
||||||
|
|
Loading…
Reference in New Issue