Skip to content

Replace event string with constants in container repo replicator

What does this MR do and why?

This MR modifies ContainerRepositoryReplicator where hardcoded strings was used to represent the 'created', 'updated' & 'deleted' event types.

The hardcoded string has been replaced with respective constants EVENT_CREATED, EVENT_UPDATED & EVENT_DELETED to avoid potential typos or inconsistencies in the event type & potential bugs.

Relates to: #417613 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mayank Singh

Merge request reports