Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6c435314
Commit
6c435314
authored
Sep 28, 2020
by
Thibault
Committed by
Kerri Miller
Sep 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add changelog for MR 42910"
This reverts commit 19fba8a8383a162a08a874c40f8d943a926ec8f8.
parent
f81bc313
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/services/projects/update_service.rb
app/services/projects/update_service.rb
+2
-2
changelogs/unreleased/42910-use-create-wiki-method-on-ensure-wiki-exists-in-update-service.yml
...e-wiki-method-on-ensure-wiki-exists-in-update-service.yml
+5
-0
No files found.
app/services/projects/update_service.rb
View file @
6c435314
...
...
@@ -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
...
...
changelogs/unreleased/42910-use-create-wiki-method-on-ensure-wiki-exists-in-update-service.yml
0 → 100644
View file @
6c435314
---
title
:
use create_wiki method on ensure_wiki_exists in update_service
merge_request
:
42910
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment