summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-10 09:49:42 -0600
committerMike Greiling <mike@pixelcog.com>2017-03-13 13:31:04 -0500
commitba0bc940009ca83f7bbc0d909df5438c8beeee66 (patch)
tree81e72c875fb8f3fbd7cbaa2ed6a206122b31e46b
parent5a24255ce0ac48acb32ddc011d495dd940a8eaae (diff)
downloadgitlab-ce-ba0bc940009ca83f7bbc0d909df5438c8beeee66.tar.gz
fix Flash reference in prometheus_graph
-rw-r--r--app/assets/javascripts/monitoring/prometheus_graph.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/monitoring/prometheus_graph.js b/app/assets/javascripts/monitoring/prometheus_graph.js
index 9384fe3f276..71eb746edac 100644
--- a/app/assets/javascripts/monitoring/prometheus_graph.js
+++ b/app/assets/javascripts/monitoring/prometheus_graph.js
@@ -1,9 +1,11 @@
-/* eslint-disable no-new*/
+/* eslint-disable no-new */
+/* global Flash */
+
import d3 from 'd3';
import _ from 'underscore';
import statusCodes from '~/lib/utils/http_status';
import '~/lib/utils/common_utils';
-import Flash from '~/flash';
+import '~/flash';
const prometheusGraphsContainer = '.prometheus-graph';
const metricsEndpoint = 'metrics.json';