From 61749dee2329b716ec499d13180659c4986ae7fc Mon Sep 17 00:00:00 2001 From: garanews Date: Wed, 7 Oct 2020 12:29:30 +0200 Subject: [PATCH] Fix typos (#28074) Parsed all repo with a regexp of common misspelled words and fixed. --- ISSUE_TRIAGE.md | 2 +- devenv/docker/blocks/elastic6/filebeat.yml | 2 +- devenv/docker/blocks/elastic7/filebeat.yml | 2 +- devenv/docker/blocks/influxdb/telegraf.conf | 6 +++--- devenv/docker/loadtest/README.md | 2 +- devenv/docker/loadtest/annotations_by_tag_test.js | 2 +- devenv/docker/loadtest/auth_token_slow_test.js | 2 +- devenv/docker/loadtest/auth_token_test.js | 2 +- .../src/transformations/transformers/labelsToFields.ts | 2 +- packages/grafana-data/src/types/live.ts | 4 ++-- .../src/TraceTimelineViewer/ListView/Positions.test.js | 2 +- .../src/TraceTimelineViewer/ListView/index.tsx | 4 ++-- packages/jaeger-ui-components/src/Tween.test.js | 2 +- pkg/services/sqlstore/annotation_cleanup_test.go | 2 +- .../TransformersUI/LabelsToFieldsTransformerEditor.tsx | 2 +- public/app/features/dashboard/state/PanelModel.test.ts | 2 +- public/app/features/dashboard/state/runRequest.test.ts | 4 ++-- public/app/features/dashboard/state/runRequest.ts | 2 +- public/app/features/explore/slate-plugins/prism/index.tsx | 2 +- public/app/features/live/dashboard/dashboardWatcher.ts | 2 +- public/app/features/templating/formatRegistry.ts | 4 ++-- .../datasource/cloud-monitoring/specs/datasource.test.ts | 4 ++-- .../datasource/influxdb/components/FluxQueryEditor.tsx | 4 ++-- public/app/plugins/datasource/prometheus/language_utils.ts | 2 +- public/app/plugins/datasource/testdata/TestInfoTab.tsx | 2 +- public/app/plugins/panel/text/TextPanel.tsx | 2 +- public/vendor/flot/jquery.flot.fillbelow.js | 4 ++-- public/vendor/tagsinput/bootstrap-tagsinput.js | 2 +- 28 files changed, 37 insertions(+), 37 deletions(-) diff --git a/ISSUE_TRIAGE.md b/ISSUE_TRIAGE.md index 2955ef94133..93be0b6a069 100644 --- a/ISSUE_TRIAGE.md +++ b/ISSUE_TRIAGE.md @@ -284,7 +284,7 @@ In many cases the issue author or community as a whole is more suitable to contr - Alert notifiers 1. Kindly and politely add a comment to signal to users subscribed to updates of the issue. - - Explain that the issue would be nice to get resolved, but it isn't prioritized to work on by maintainers for an unforseen future. + - Explain that the issue would be nice to get resolved, but it isn't prioritized to work on by maintainers for an unforeseen future. - If possible or applicable, try to help contributors getting starting by adding pointers and references to what code/files need to be changed and/or ideas of a good way to solve/implement the issue. 2. Label the issue with `help wanted`. 3. If applicable, label the issue with `beginner friendly` to denote that the issue is suitable for a beginner to work on. diff --git a/devenv/docker/blocks/elastic6/filebeat.yml b/devenv/docker/blocks/elastic6/filebeat.yml index 7836e6b35d7..f8d263f6782 100644 --- a/devenv/docker/blocks/elastic6/filebeat.yml +++ b/devenv/docker/blocks/elastic6/filebeat.yml @@ -821,7 +821,7 @@ filebeat.inputs: # By default Ingest pipelines are not updated if a pipeline with the same ID # already exists. If this option is enabled Filebeat overwrites pipelines -# everytime a new Elasticsearch connection is established. +# every time a new Elasticsearch connection is established. #filebeat.overwrite_pipelines: false # How long filebeat waits on shutdown for the publisher to finish. diff --git a/devenv/docker/blocks/elastic7/filebeat.yml b/devenv/docker/blocks/elastic7/filebeat.yml index ef78ad8e28f..8d7a49251a7 100644 --- a/devenv/docker/blocks/elastic7/filebeat.yml +++ b/devenv/docker/blocks/elastic7/filebeat.yml @@ -821,7 +821,7 @@ filebeat.inputs: # By default Ingest pipelines are not updated if a pipeline with the same ID # already exists. If this option is enabled Filebeat overwrites pipelines -# everytime a new Elasticsearch connection is established. +# every time a new Elasticsearch connection is established. #filebeat.overwrite_pipelines: false # How long filebeat waits on shutdown for the publisher to finish. diff --git a/devenv/docker/blocks/influxdb/telegraf.conf b/devenv/docker/blocks/influxdb/telegraf.conf index 890544f0395..ac19f852a7c 100644 --- a/devenv/docker/blocks/influxdb/telegraf.conf +++ b/devenv/docker/blocks/influxdb/telegraf.conf @@ -1057,7 +1057,7 @@ # ## Custom resource type # # resource_type = "generic_node" # -# ## Additonal resource labels +# ## Additional resource labels # # [outputs.stackdriver.resource_labels] # # node_id = "$HOSTNAME" # # namespace = "myapp" @@ -5196,11 +5196,11 @@ # ## separator character to use for measurement and field names (default: "_") # # separator = "_" # -# ## number of objects to retreive per query for realtime resources (vms and hosts) +# ## number of objects to retrieve per query for realtime resources (vms and hosts) # ## set to 64 for vCenter 5.5 and 6.0 (default: 256) # # max_query_objects = 256 # -# ## number of metrics to retreive per query for non-realtime resources (clusters and datastores) +# ## number of metrics to retrieve per query for non-realtime resources (clusters and datastores) # ## set to 64 for vCenter 5.5 and 6.0 (default: 256) # # max_query_metrics = 256 # diff --git a/devenv/docker/loadtest/README.md b/devenv/docker/loadtest/README.md index eb0fa83c0f5..1c17f2f8ca9 100644 --- a/devenv/docker/loadtest/README.md +++ b/devenv/docker/loadtest/README.md @@ -75,7 +75,7 @@ Example output: █ user auth token test - █ user authenticates thru ui with username and password + █ user authenticates through ui with username and password ✓ response status is 200 ✓ response has cookie 'grafana_session' with 32 characters diff --git a/devenv/docker/loadtest/annotations_by_tag_test.js b/devenv/docker/loadtest/annotations_by_tag_test.js index d127b98f53b..cbfa290a52a 100644 --- a/devenv/docker/loadtest/annotations_by_tag_test.js +++ b/devenv/docker/loadtest/annotations_by_tag_test.js @@ -23,7 +23,7 @@ export const setup = () => { export default data => { group('annotation by tag test', () => { if (__ITER === 0) { - group('user authenticates thru ui with username and password', () => { + group('user authenticates through ui with username and password', () => { let res = client.ui.login('admin', 'admin'); check(res, { diff --git a/devenv/docker/loadtest/auth_token_slow_test.js b/devenv/docker/loadtest/auth_token_slow_test.js index f762a67794f..ab7bc41314c 100644 --- a/devenv/docker/loadtest/auth_token_slow_test.js +++ b/devenv/docker/loadtest/auth_token_slow_test.js @@ -24,7 +24,7 @@ export const setup = () => { export default data => { group(`user auth token slow test (queries between 1 and ${slowQuery} seconds)`, () => { if (__ITER === 0) { - group('user authenticates thru ui with username and password', () => { + group('user authenticates through ui with username and password', () => { let res = client.ui.login('admin', 'admin'); check(res, { diff --git a/devenv/docker/loadtest/auth_token_test.js b/devenv/docker/loadtest/auth_token_test.js index 1e8082cadba..ccf4b792689 100644 --- a/devenv/docker/loadtest/auth_token_test.js +++ b/devenv/docker/loadtest/auth_token_test.js @@ -23,7 +23,7 @@ export const setup = () => { export default data => { group('user auth token test', () => { if (__ITER === 0) { - group('user authenticates thru ui with username and password', () => { + group('user authenticates through ui with username and password', () => { let res = client.ui.login('admin', 'admin'); check(res, { diff --git a/packages/grafana-data/src/transformations/transformers/labelsToFields.ts b/packages/grafana-data/src/transformations/transformers/labelsToFields.ts index 9d983224efd..3687ea8b2f3 100644 --- a/packages/grafana-data/src/transformations/transformers/labelsToFields.ts +++ b/packages/grafana-data/src/transformations/transformers/labelsToFields.ts @@ -34,7 +34,7 @@ export const labelsToFieldsTransformer: DataTransformerInfo { // Note: ps.ys = [0, 2, 6, 12, 20, undefined x 5]; }); - it('scans y-values for index that equals or preceeds `yValue`', () => { + it('scans y-values for index that equals or precedes `yValue`', () => { let i = ps.findFloorIndex(3, getHeight); expect(i).toBe(1); i = ps.findFloorIndex(21, getHeight); diff --git a/packages/jaeger-ui-components/src/TraceTimelineViewer/ListView/index.tsx b/packages/jaeger-ui-components/src/TraceTimelineViewer/ListView/index.tsx index bf1ba9154c8..55bd4dbf86d 100644 --- a/packages/jaeger-ui-components/src/TraceTimelineViewer/ListView/index.tsx +++ b/packages/jaeger-ui-components/src/TraceTimelineViewer/ListView/index.tsx @@ -33,12 +33,12 @@ type TListViewProps = { dataLength: number; /** * Convert item index (number) to the key (string). ListView uses both indexes - * and keys to handle the addtion of new rows. + * and keys to handle the addition of new rows. */ getIndexFromKey: (key: string) => number; /** * Convert item key (string) to the index (number). ListView uses both indexes - * and keys to handle the addtion of new rows. + * and keys to handle the addition of new rows. */ getKeyFromIndex: (index: number) => string; /** diff --git a/packages/jaeger-ui-components/src/Tween.test.js b/packages/jaeger-ui-components/src/Tween.test.js index d5a47184001..2bb7385299f 100644 --- a/packages/jaeger-ui-components/src/Tween.test.js +++ b/packages/jaeger-ui-components/src/Tween.test.js @@ -63,7 +63,7 @@ describe('Tween', () => { expect(setTimeoutFn).lastCalledWith(tween._frameCallback, delay); }); - it('schedules animation frame if there isnt a delay', () => { + it('schedules animation frame if there is not a delay', () => { const tween = new Tween({ ...baseOptions, onUpdate: jest.fn() }); expect(rafFn).lastCalledWith(tween._frameCallback); }); diff --git a/pkg/services/sqlstore/annotation_cleanup_test.go b/pkg/services/sqlstore/annotation_cleanup_test.go index 22827b1836b..334a2ff37e1 100644 --- a/pkg/services/sqlstore/annotation_cleanup_test.go +++ b/pkg/services/sqlstore/annotation_cleanup_test.go @@ -165,7 +165,7 @@ func createTestAnnotations(t *testing.T, sqlstore *SqlStore, expectedCount int, } // mark every third as an API annotation - // that doesnt belong to a dashboard + // that does not belong to a dashboard if i%3 == 1 { a.DashboardId = 0 } diff --git a/public/app/core/components/TransformersUI/LabelsToFieldsTransformerEditor.tsx b/public/app/core/components/TransformersUI/LabelsToFieldsTransformerEditor.tsx index b88b81dae58..7f11a414553 100644 --- a/public/app/core/components/TransformersUI/LabelsToFieldsTransformerEditor.tsx +++ b/public/app/core/components/TransformersUI/LabelsToFieldsTransformerEditor.tsx @@ -62,5 +62,5 @@ export const labelsToFieldsTransformerRegistryItem: TransformerRegistyItem