Commit 127fdd6c authored by Fabio Pitino's avatar Fabio Pitino

Merge branch '235793-update-pipeline-counter-duplicate-method' into 'master'

Remove duplicated pipelines_created_counter method

Closes #235793

See merge request gitlab-org/gitlab!39347
parents 867e1ff1 24bb7dd4
......@@ -45,15 +45,6 @@ module Gitlab
Gitlab::Metrics.counter(name, comment)
end
end
def pipelines_created_counter
strong_memoize(:pipelines_created_count) do
name = :pipelines_created_total
comment = 'Counter of pipelines created'
Gitlab::Metrics.counter(name, comment)
end
end
end
end
end
......
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