Commit 6c435314 authored by Thibault's avatar Thibault Committed by Kerri Miller

Revert "Add changelog for MR 42910"

This reverts commit 19fba8a8383a162a08a874c40f8d943a926ec8f8.
parent f81bc313
......@@ -135,8 +135,8 @@ module Projects
end
def ensure_wiki_exists
ProjectWiki.new(project, project.owner).wiki
rescue Wiki::CouldNotCreateWikiError
return if project.create_wiki
log_error("Could not create wiki for #{project.full_name}")
Gitlab::Metrics.counter(:wiki_can_not_be_created_total, 'Counts the times we failed to create a wiki').increment
end
......
---
title: use create_wiki method on ensure_wiki_exists in update_service
merge_request: 42910
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment