chore(docs): Remove repetitive "the" (#13295)
This commit is contained in:
parent
2476640d0f
commit
b08a2bb324
|
|
@ -29,7 +29,7 @@ func (n *node) recursiveInsert(values []string, template *Template) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// See if the the current element already exists in the tree. If so, insert the
|
// See if the current element already exists in the tree. If so, insert the
|
||||||
// into that sub-tree
|
// into that sub-tree
|
||||||
for _, v := range n.children {
|
for _, v := range n.children {
|
||||||
if v.value == values[0] {
|
if v.value == values[0] {
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ pattern to allow monitoring of any CloudWatch Metric.
|
||||||
Omitting or specifying a value of `'*'` for a dimension value configures all
|
Omitting or specifying a value of `'*'` for a dimension value configures all
|
||||||
available metrics that contain a dimension with the specified name to be
|
available metrics that contain a dimension with the specified name to be
|
||||||
retrieved. If specifying >1 dimension, then the metric must contain *all* the
|
retrieved. If specifying >1 dimension, then the metric must contain *all* the
|
||||||
configured dimensions where the the value of the wildcard dimension is ignored.
|
configured dimensions where the value of the wildcard dimension is ignored.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||||
- warning (integer)
|
- warning (integer)
|
||||||
|
|
||||||
`passing`, `critical`, and `warning` are integer representations of the health
|
`passing`, `critical`, and `warning` are integer representations of the health
|
||||||
check state. A value of `1` represents that the status was the state of the the
|
check state. A value of `1` represents that the status was the state of the
|
||||||
health check at this sample. `status` is string representation of the same
|
health check at this sample. `status` is string representation of the same
|
||||||
state.
|
state.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -655,7 +655,7 @@ func TestParseSubdirectoriesFilesIgnore(t *testing.T) {
|
||||||
err = f.Close()
|
err = f.Close()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// Write json file to process into a subdirectory in the the 'process' directory.
|
// Write json file to process into a subdirectory in the 'process' directory.
|
||||||
err = os.Mkdir(filepath.Join(processDirectory, "sub"), os.ModePerm)
|
err = os.Mkdir(filepath.Join(processDirectory, "sub"), os.ModePerm)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
f, err = os.Create(filepath.Join(processDirectory, "sub", testJSONFile))
|
f, err = os.Create(filepath.Join(processDirectory, "sub", testJSONFile))
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ func testStrictNonTransparent(t *testing.T, protocol string, address string, wan
|
||||||
conn.Close()
|
conn.Close()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// Wait that the the number of data points is accumulated
|
// Wait that the number of data points is accumulated
|
||||||
// Since the receiver is running concurrently
|
// Since the receiver is running concurrently
|
||||||
if tc.wantStrict != nil {
|
if tc.wantStrict != nil {
|
||||||
acc.Wait(len(tc.wantStrict))
|
acc.Wait(len(tc.wantStrict))
|
||||||
|
|
@ -244,7 +244,7 @@ func testBestEffortNonTransparent(t *testing.T, protocol string, address string,
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
conn.Close()
|
conn.Close()
|
||||||
|
|
||||||
// Wait that the the number of data points is accumulated
|
// Wait that the number of data points is accumulated
|
||||||
// Since the receiver is running concurrently
|
// Since the receiver is running concurrently
|
||||||
if tc.wantBestEffort != nil {
|
if tc.wantBestEffort != nil {
|
||||||
acc.Wait(len(tc.wantBestEffort))
|
acc.Wait(len(tc.wantBestEffort))
|
||||||
|
|
|
||||||
|
|
@ -387,7 +387,7 @@ func testStrictOctetCounting(t *testing.T, protocol string, address string, want
|
||||||
conn.Close()
|
conn.Close()
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// Wait that the the number of data points is accumulated
|
// Wait that the number of data points is accumulated
|
||||||
// Since the receiver is running concurrently
|
// Since the receiver is running concurrently
|
||||||
if tc.wantStrict != nil {
|
if tc.wantStrict != nil {
|
||||||
acc.Wait(len(tc.wantStrict))
|
acc.Wait(len(tc.wantStrict))
|
||||||
|
|
@ -443,7 +443,7 @@ func testBestEffortOctetCounting(t *testing.T, protocol string, address string,
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
conn.Close()
|
conn.Close()
|
||||||
|
|
||||||
// Wait that the the number of data points is accumulated
|
// Wait that the number of data points is accumulated
|
||||||
// Since the receiver is running concurrently
|
// Since the receiver is running concurrently
|
||||||
if tc.wantBestEffort != nil {
|
if tc.wantBestEffort != nil {
|
||||||
acc.Wait(len(tc.wantBestEffort))
|
acc.Wait(len(tc.wantBestEffort))
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ type Parser struct {
|
||||||
|
|
||||||
// **** The struct fields bellow this comment are used for processing indvidual configs ****
|
// **** The struct fields bellow this comment are used for processing indvidual configs ****
|
||||||
|
|
||||||
// measurementName is the the name of the current config used in each line protocol
|
// measurementName is the name of the current config used in each line protocol
|
||||||
measurementName string
|
measurementName string
|
||||||
|
|
||||||
// **** Specific for object configuration ****
|
// **** Specific for object configuration ****
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue