From 11f37a9302515d0a26af00f49eadf25b496a0a90 Mon Sep 17 00:00:00 2001 From: Paco Guzman Date: Fri, 17 Jun 2016 10:17:36 +0200 Subject: [PATCH] Remove explicit Gitlab::Metrics.action assignments, are already automatic. --- CHANGELOG | 1 + lib/api/internal.rb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 362b5bd580a..9c430c5c1a4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -126,6 +126,7 @@ v 8.9.0 (unreleased) - Various associations are now eager loaded when parsing issue references to reduce the number of queries executed - Set inverse_of for Project/Service association to reduce the number of queries - Update tanuki logo highlight/loading colors + - Remove explicit Gitlab::Metrics.action assignments, are already automatic. - Use Git cached counters for branches and tags on project page - Filter parameters for request_uri value on instrumented transactions. - Cache user todo counts from TodoService diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 3ac7b50c4ce..1d361569d59 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -23,8 +23,6 @@ module API end post "/allowed" do - Gitlab::Metrics.action = 'Grape#/internal/allowed' - status 200 actor =