Update web hook failure states only if feature flag is on
What does this MR do and why?
This change skips setting the failure state of a webhook unless the
web_hooks_disable_failed
flag is enabled, as the code does not need to
run until we toggle the flag on #329849 (closed).
Related to #360254 (closed) (see thread #360254 (comment 937508171))
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Luke Duncalfe