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

View file

@ -125,13 +125,6 @@ Rails.application.routes.draw do
get :kill get :kill
end end
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 end
concern :clusterable do concern :clusterable do