summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-06-17 10:17:36 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2016-06-18 07:33:50 +0200
commit11f37a9302515d0a26af00f49eadf25b496a0a90 (patch)
treeda3dff9daa208ee249d563efa6a924415279ae07
parent00906b5bb6cde8cb60281109060a519a54000c61 (diff)
downloadgitlab-ce-18760-remove-explicate-assignment-on-metrics-action.tar.gz
Remove explicit Gitlab::Metrics.action assignments, are already automatic.18760-remove-explicate-assignment-on-metrics-action
-rw-r--r--CHANGELOG1
-rw-r--r--lib/api/internal.rb2
2 files changed, 1 insertions, 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 =