Просмотр исходного кода

stackdriver: fix typescript errors

Erik Sundell 7 лет назад
Родитель
Сommit
e2bda4d321

+ 0 - 1
public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts

@@ -1,7 +1,6 @@
 import angular from 'angular';
 import _ from 'lodash';
 import * as options from './constants';
-import * as options from './constants';
 import kbn from 'app/core/utils/kbn';
 
 export class StackdriverAggregation {

+ 1 - 0
public/app/plugins/datasource/stackdriver/specs/query_ctrl.test.ts

@@ -418,6 +418,7 @@ function createTarget(existingFilters?: string[]) {
       name: '',
     },
     metricType: 'ametric',
+    service: '',
     refId: 'A',
     aggregation: {
       crossSeriesReducer: '',