diff options
author | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-08-09 17:46:55 +0300 |
---|---|---|
committer | Aleksei Lipniagov <alipniagov@gitlab.com> | 2019-08-09 17:52:38 +0300 |
commit | 3c25e8734f137d5e32d0cce4ec4cd95e90a39d07 (patch) | |
tree | 3ff5d06849d9a5a1ff1d3107dc61a86b7ba638ac /app | |
parent | 71d8815405b09046b2e4bcf0ea0a732d21c87e2a (diff) | |
download | gitlab-ce-3c25e8734f137d5e32d0cce4ec4cd95e90a39d07.tar.gz |
Fix :wiki_can_not_be_created_total counteralipniagov-fix-wiki_can_not_be_created_total-counter
Diffstat (limited to 'app')
-rw-r--r-- | app/services/projects/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/update_service.rb b/app/services/projects/update_service.rb index 2bc04470342..caab946174d 100644 --- a/app/services/projects/update_service.rb +++ b/app/services/projects/update_service.rb @@ -122,7 +122,7 @@ module Projects ProjectWiki.new(project, project.owner).wiki rescue ProjectWiki::CouldNotCreateWikiError 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') + Gitlab::Metrics.counter(:wiki_can_not_be_created_total, 'Counts the times we failed to create a wiki').increment end def update_pages_config |