Elasticsearch: Rename public/app/plugins/datasource/elasticsearch/index_pattern.ts to follow convention (#55532)

* Elasticsearch: Rename public/app/plugins/datasource/elasticsearch/index_pattern.ts to follow convention

* undo change in this file
pull/55334/head^2
Marcos Vinicius 3 years ago committed by GitHub
parent 6f93630e97
commit 69f1ba3e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/plugins/datasource/elasticsearch/IndexPattern.test.ts
  2. 0
      public/app/plugins/datasource/elasticsearch/IndexPattern.ts
  3. 2
      public/app/plugins/datasource/elasticsearch/datasource.ts

@ -2,7 +2,7 @@
import { toUtc, getLocale, setLocale, dateTime } from '@grafana/data';
import { IndexPattern } from '../index_pattern';
import { IndexPattern } from './IndexPattern';
describe('IndexPattern', () => {
const originalLocale = getLocale();

@ -33,6 +33,7 @@ import { getTemplateSrv, TemplateSrv } from 'app/features/templating/template_sr
import { RowContextOptions } from '../../../features/logs/components/LogRowContextProvider';
import { IndexPattern } from './IndexPattern';
import LanguageProvider from './LanguageProvider';
import { ElasticQueryBuilder } from './QueryBuilder';
import { ElasticsearchAnnotationsQueryEditor } from './components/QueryEditor/AnnotationQueryEditor';
@ -48,7 +49,6 @@ import {
} from './components/QueryEditor/MetricAggregationsEditor/aggregations';
import { metricAggregationConfig } from './components/QueryEditor/MetricAggregationsEditor/utils';
import { ElasticResponse } from './elastic_response';
import { IndexPattern } from './index_pattern';
import { defaultBucketAgg, hasMetricOfType } from './queryDef';
import { DataLinkConfig, ElasticsearchOptions, ElasticsearchQuery, TermsQuery } from './types';
import { coerceESVersion, getScriptValue, isSupportedVersion } from './utils';

Loading…
Cancel
Save