Skip to content

Commit e704bd0

Browse files
committed
fix arithemtic copy/paste typo
1 parent b5cee7f commit e704bd0

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/DruidDataSource.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import { DataSourceInstanceSettings } from '@grafana/data';
2-
import { MetricFindValue } from '@grafana/data';
3-
import { DataSourceWithBackend } from '@grafana/runtime';
4-
import { getTemplateSrv } from '@grafana/runtime';
1+
import { DataSourceInstanceSettings, MetricFindValue } from '@grafana/data';
2+
import { DataSourceWithBackend, getTemplateSrv } from '@grafana/runtime';
53
import { DruidSettings, DruidQuery } from './types';
64
import { cloneDeepWith } from 'lodash';
75

src/builder/filter/In.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { PureComponent, ChangeEvent } from 'react';
2-
import { MultiSelect } from '@grafana/ui';
2+
import { LegacyForms, MultiSelect } from '@grafana/ui';
33
import { SelectableValue } from '@grafana/data';
4-
import { LegacyForms } from '@grafana/ui';
54
import { css } from 'emotion';
65
import { QueryBuilderProps, QueryBuilderOptions } from '../types';
76
import { ExtractionFn } from '../extractionfn';

src/builder/postaggregation/Arithmetic.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Arithmetic extends PureComponent<QueryBuilderProps, State> {
6161
super(props);
6262
this.resetBuilder(['type', 'name', 'fn', 'fields', 'ordering']);
6363
const { builder } = props.options;
64-
builder.type = 'cardinality';
64+
builder.type = 'arithmetic';
6565
if (undefined === builder.fields) {
6666
builder.fields = [];
6767
}

0 commit comments

Comments
 (0)