From 4bcf3bf1ffe184cf7a175b8aa274be886f8a899a Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 25 Oct 2018 17:01:13 +0200 Subject: [PATCH] stackdriver: remove not used code --- public/app/plugins/datasource/stackdriver/metricTypes.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/app/plugins/datasource/stackdriver/metricTypes.tsx b/public/app/plugins/datasource/stackdriver/metricTypes.tsx index 0e844f49439..d4e82dbc380 100644 --- a/public/app/plugins/datasource/stackdriver/metricTypes.tsx +++ b/public/app/plugins/datasource/stackdriver/metricTypes.tsx @@ -1,5 +1,4 @@ import React, { SFC } from 'react'; -import uniqBy from 'lodash/uniqBy'; interface Props { onMetricTypeChanged: any; @@ -19,11 +18,6 @@ const MetricTypes: SFC = props => { })); }; - uniqBy(props.metricDescriptors, 'service').map(m => ({ - value: m.service, - name: m.serviceShortName, - })); - return (
Metric Types