summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage_data.rb
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2019-07-17 23:45:35 +0000
committerNick Thomas <nick@gitlab.com>2019-07-17 23:45:35 +0000
commitbcd2458076512ad80c6e470d9434618f27dfec3c (patch)
tree92081015f8202b37abb3e6c79808e84ce0dccbe9 /lib/gitlab/usage_data.rb
parentf74bd44d2a9171c51ec7c9a622d7628044791d9e (diff)
downloadgitlab-ce-bcd2458076512ad80c6e470d9434618f27dfec3c.tar.gz
Refactor RedisCounter and WebIdeCommitsCounter
This MR refactor RedisCounter and WebIdeCommitsCounter to be reused by other components.
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r--lib/gitlab/usage_data.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index 055e01a9399..7572c0bdbfd 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -130,7 +130,7 @@ module Gitlab
def usage_counters
{
- web_ide_commits: Gitlab::UsageDataCounters::WebIdeCommitsCounter.total_count
+ web_ide_commits: Gitlab::UsageDataCounters::WebIdeCounter.total_commits_count
}
end