Skip to content
代码片段 群组 项目
提交 0c85dc61 编辑于 作者: Vasilii Iakliushin's avatar Vasilii Iakliushin
浏览文件

Handle a deletion of deployments for the removed repository

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/398133

**Problem**

There is no verification in `#finalize_fast_destroy` if the repository
exists. Because of that, `#delete_refs` can raise an unhandled exception
and block the project destroy process.

**Solution**

Handle `Gitlab::Git::Repository::NoRepository` exception.

Changelog: fixed
上级 9e536bf9
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册