Merge branch 'remove-obsolete-chaos-routes' into 'master'

Remove obsolete chaos routes

See merge request gitlab-org/gitlab-ce!30706
This commit is contained in:
Lin Jen-Shin 2019-07-15 02:28:18 +00:00
commit 920fc2e389
1 changed files with 0 additions and 7 deletions

View File

@ -125,13 +125,6 @@ Rails.application.routes.draw do
get :kill
end
end
if ENV['GITLAB_ENABLE_CHAOS_ENDPOINTS']
get '/chaos/leakmem' => 'chaos#leakmem'
get '/chaos/cpuspin' => 'chaos#cpuspin'
get '/chaos/sleep' => 'chaos#sleep'
get '/chaos/kill' => 'chaos#kill'
end
end
concern :clusterable do