PullMirrors::UpdateService: remove previous data after mirror's update
What does this MR do and why?
Problem
Previous merge request: !159240 (merged) is missing several clean-up procedures that need to be done after updating a pull mirror.
Solution
- When pull mirror is disabled, credential-related data should be removed as well: gitlab-foss#54574 (closed).
- When pull mirror is updated, the previous import errors should be removed to correctly display the current state.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Vasilii Iakliushin