Commit a7025851 authored by Yorick Peterse's avatar Yorick Peterse

Merge branch '683-remove-explicate-assignment-on-metrics-action' into 'master'

Remove explicit Gitlab::Metrics.action assignments, are already automatic.

See merge request !473
parents ae02dbf8 75305e74
...@@ -12,6 +12,7 @@ v 8.9.0 (unreleased) ...@@ -12,6 +12,7 @@ v 8.9.0 (unreleased)
- Disable mirror flag for projects without import_url - Disable mirror flag for projects without import_url
- UpdateMirror service return an error status when no mirror - UpdateMirror service return an error status when no mirror
- Show flash notice when Git Hooks are updated successfully - Show flash notice when Git Hooks are updated successfully
- Remove explicit Gitlab::Metrics.action assignments, are already automatic.
- [Elastic] Project members with guest role can't access confidential issues - [Elastic] Project members with guest role can't access confidential issues
- Ability to lock file or folder in the repository - Ability to lock file or folder in the repository
......
...@@ -23,8 +23,6 @@ module API ...@@ -23,8 +23,6 @@ module API
end end
post "/allowed" do post "/allowed" do
Gitlab::Metrics.action = 'Grape#/internal/allowed'
status 200 status 200
actor = actor =
...@@ -58,8 +56,6 @@ module API ...@@ -58,8 +56,6 @@ module API
# Get a ssh key using the fingerprint # Get a ssh key using the fingerprint
# #
get "/authorized_keys" do get "/authorized_keys" do
Gitlab::Metrics.action = 'Grape#/internal/authorized_keys'
fingerprint = params.fetch(:fingerprint) do fingerprint = params.fetch(:fingerprint) do
Gitlab::InsecureKeyFingerprint.new(params.fetch(:key)).fingerprint Gitlab::InsecureKeyFingerprint.new(params.fetch(:key)).fingerprint
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