diff options
author | Jose Vargas <jvargas@gitlab.com> | 2019-04-02 14:02:29 -0600 |
---|---|---|
committer | Jose Vargas <jvargas@gitlab.com> | 2019-04-04 14:53:03 -0600 |
commit | a6f9f79b73ec1893e00a41ae20c3e17bd33cccb4 (patch) | |
tree | 24f0196e2e546c3a711cfe4c8247883ad7338c48 /app/assets/javascripts/monitoring/services | |
parent | 217e9e4db1a81125a06830b9dbf270a15fb9c284 (diff) | |
download | gitlab-ce-a6f9f79b73ec1893e00a41ae20c3e17bd33cccb4.tar.gz |
Changed the feature flag usage
In order for the dashboard component not to fail, the feature flag
is now required by default
Diffstat (limited to 'app/assets/javascripts/monitoring/services')
-rw-r--r-- | app/assets/javascripts/monitoring/services/monitoring_service.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/assets/javascripts/monitoring/services/monitoring_service.js b/app/assets/javascripts/monitoring/services/monitoring_service.js index 64e27856bb9..5fcc2c8cfac 100644 --- a/app/assets/javascripts/monitoring/services/monitoring_service.js +++ b/app/assets/javascripts/monitoring/services/monitoring_service.js @@ -33,13 +33,7 @@ export default class MonitoringService { } getGraphsData(params = {}) { - return backOffRequest(() => - axios.get(this.metricsEndpoint, { - params: { - params, - }, - }), - ) + return backOffRequest(() => axios.get(this.metricsEndpoint, { params })) .then(resp => resp.data) .then(response => { if (!response || !response.data || !response.success) { |