From fa64e26a0c394fd586436568e7ac69d013a4d17a Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Tue, 21 Jun 2022 18:36:41 +0200 Subject: [PATCH] chore: fix typo (recieve -> receive) (#11341) --- etc/telegraf.conf | 2 +- etc/telegraf_windows.conf | 2 +- plugins/common/shim/processor_test.go | 6 +++--- plugins/inputs/openstack/README.md | 2 +- plugins/inputs/openstack/sample.conf | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/telegraf.conf b/etc/telegraf.conf index 11a9a16f5..bb52d620e 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -6127,7 +6127,7 @@ # # tag_prefix = "openstack_tag_" # # tag_value = "true" # -# ## Timestamp format for timestamp data recieved from Openstack. +# ## Timestamp format for timestamp data received from Openstack. # ## If false format is unix nanoseconds. # # human_readable_timestamps = false # diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index 4d19e8047..db671c218 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -5992,7 +5992,7 @@ # # tag_prefix = "openstack_tag_" # # tag_value = "true" # -# ## Timestamp format for timestamp data recieved from Openstack. +# ## Timestamp format for timestamp data received from Openstack. # ## If false format is unix nanoseconds. # # human_readable_timestamps = false # diff --git a/plugins/common/shim/processor_test.go b/plugins/common/shim/processor_test.go index 072367a98..b7b1739ae 100644 --- a/plugins/common/shim/processor_test.go +++ b/plugins/common/shim/processor_test.go @@ -17,7 +17,7 @@ import ( ) func TestProcessorShim(t *testing.T) { - testSendAndRecieve(t, "f1", "fv1") + testSendAndReceive(t, "f1", "fv1") } func TestProcessorShimWithLargerThanDefaultScannerBufferSize(t *testing.T) { @@ -27,10 +27,10 @@ func TestProcessorShimWithLargerThanDefaultScannerBufferSize(t *testing.T) { b[i] = letters[rand.Intn(len(letters))] } - testSendAndRecieve(t, "f1", string(b)) + testSendAndReceive(t, "f1", string(b)) } -func testSendAndRecieve(t *testing.T, fieldKey string, fieldValue string) { +func testSendAndReceive(t *testing.T, fieldKey string, fieldValue string) { p := &testProcessor{"hi", "mom"} stdinReader, stdinWriter := io.Pipe() diff --git a/plugins/inputs/openstack/README.md b/plugins/inputs/openstack/README.md index cd2f466fc..bc1b44bc2 100644 --- a/plugins/inputs/openstack/README.md +++ b/plugins/inputs/openstack/README.md @@ -103,7 +103,7 @@ your requirements. This will help with load and cardinality as well. # tag_prefix = "openstack_tag_" # tag_value = "true" - ## Timestamp format for timestamp data recieved from Openstack. + ## Timestamp format for timestamp data received from Openstack. ## If false format is unix nanoseconds. # human_readable_timestamps = false diff --git a/plugins/inputs/openstack/sample.conf b/plugins/inputs/openstack/sample.conf index 3605dbbbf..1df47df4e 100644 --- a/plugins/inputs/openstack/sample.conf +++ b/plugins/inputs/openstack/sample.conf @@ -43,7 +43,7 @@ # tag_prefix = "openstack_tag_" # tag_value = "true" - ## Timestamp format for timestamp data recieved from Openstack. + ## Timestamp format for timestamp data received from Openstack. ## If false format is unix nanoseconds. # human_readable_timestamps = false