diff options
author | Sarah Yasonik <syasonik@gitlab.com> | 2019-06-07 11:48:10 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-06-07 11:48:10 +0300 |
commit | 3f5447dbbd0a939943ee12903490c264d79d6d27 (patch) | |
tree | 1026dbfbf5a286a5b7557e575f76412a0cf0a1c7 /app/controllers | |
parent | d842d80e30000b9efa57e8e69117431b38c6784a (diff) |
Remove metrics_time_window feature flag
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/clusters/clusters_controller.rb | 3 | ||||
-rw-r--r-- | app/controllers/projects/environments_controller.rb | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/clusters/clusters_controller.rb b/app/controllers/clusters/clusters_controller.rb index 73ebd4e0e42..80ee7c35906 100644 --- a/app/controllers/clusters/clusters_controller.rb +++ b/app/controllers/clusters/clusters_controller.rb @@ -12,9 +12,6 @@ class Clusters::ClustersController < Clusters::BaseController before_action :authorize_update_cluster!, only: [:update] before_action :authorize_admin_cluster!, only: [:destroy] before_action :update_applications_status, only: [:cluster_status] - before_action only: [:show] do - push_frontend_feature_flag(:metrics_time_window) - end helper_method :token_in_session diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb index 681b49e0bd7..e002a4d349b 100644 --- a/app/controllers/projects/environments_controller.rb +++ b/app/controllers/projects/environments_controller.rb @@ -11,7 +11,6 @@ class Projects::EnvironmentsController < Projects::ApplicationController before_action :verify_api_request!, only: :terminal_websocket_authorize before_action :expire_etag_cache, only: [:index] before_action only: [:metrics, :additional_metrics, :metrics_dashboard] do - push_frontend_feature_flag(:metrics_time_window) push_frontend_feature_flag(:environment_metrics_use_prometheus_endpoint) push_frontend_feature_flag(:environment_metrics_show_multiple_dashboards) push_frontend_feature_flag(:grafana_dashboard_link) @@ -221,8 +220,6 @@ class Projects::EnvironmentsController < Projects::ApplicationController end def metrics_params - return unless Feature.enabled?(:metrics_time_window, project) - params.require([:start, :end]) end |