Skip to content

Commit 336efc9

Browse files
authored
[chore] Remove duplicated 'will be's (#13132)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Remove duplicated "will be"s. <!-- Issue number if applicable --> #### Link to tracking issue n/a <!--Describe what testing was performed and which tests were added.--> #### Testing n/a <!--Describe the documentation added.--> #### Documentation n/a <!--Please delete paragraphs that you did not use before submitting.-->
1 parent 471361a commit 336efc9

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

cmd/mdatagen/internal/loader_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func TestLoadMetadata(t *testing.T) {
224224
"default.metric.to_be_removed": {
225225
Enabled: true,
226226
Description: "[DEPRECATED] Non-monotonic delta sum double metric enabled by default.",
227-
ExtendedDocumentation: "The metric will be will be removed soon.",
227+
ExtendedDocumentation: "The metric will be removed soon.",
228228
Warnings: Warnings{
229229
IfEnabled: "This metric is deprecated and will be removed soon.",
230230
},
@@ -269,7 +269,7 @@ func TestLoadMetadata(t *testing.T) {
269269
"default.event.to_be_removed": {
270270
Enabled: true,
271271
Description: "[DEPRECATED] Example to-be-removed event enabled by default.",
272-
ExtendedDocumentation: "The event will be will be removed soon.",
272+
ExtendedDocumentation: "The event will be removed soon.",
273273
Warnings: Warnings{
274274
IfEnabled: "This event is deprecated and will be removed soon.",
275275
},

cmd/mdatagen/internal/sampleconnector/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The metric will be become optional soon.
3636
3737
[DEPRECATED] Non-monotonic delta sum double metric enabled by default.
3838
39-
The metric will be will be removed soon.
39+
The metric will be removed soon.
4040
4141
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
4242
| ---- | ----------- | ---------- | ----------------------- | --------- |

cmd/mdatagen/internal/sampleconnector/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ metrics:
135135
default.metric.to_be_removed:
136136
enabled: true
137137
description: "[DEPRECATED] Non-monotonic delta sum double metric enabled by default."
138-
extended_documentation: The metric will be will be removed soon.
138+
extended_documentation: The metric will be removed soon.
139139
unit: s
140140
sum:
141141
value_type: double

cmd/mdatagen/internal/samplereceiver/documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The metric will be become optional soon.
3636
3737
[DEPRECATED] Non-monotonic delta sum double metric enabled by default.
3838
39-
The metric will be will be removed soon.
39+
The metric will be removed soon.
4040
4141
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
4242
| ---- | ----------- | ---------- | ----------------------- | --------- |
@@ -129,7 +129,7 @@ Example event enabled by default.
129129
130130
[DEPRECATED] Example to-be-removed event enabled by default.
131131
132-
The event will be will be removed soon.
132+
The event will be removed soon.
133133
134134
#### Attributes
135135

cmd/mdatagen/internal/samplereceiver/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ events:
125125
default.event.to_be_removed:
126126
enabled: true
127127
description: "[DEPRECATED] Example to-be-removed event enabled by default."
128-
extended_documentation: The event will be will be removed soon.
128+
extended_documentation: The event will be removed soon.
129129
warnings:
130130
if_enabled: This event is deprecated and will be removed soon.
131131
attributes: [ string_attr, overridden_int_attr, enum_attr, slice_attr, map_attr ]
@@ -167,7 +167,7 @@ metrics:
167167
default.metric.to_be_removed:
168168
enabled: true
169169
description: "[DEPRECATED] Non-monotonic delta sum double metric enabled by default."
170-
extended_documentation: The metric will be will be removed soon.
170+
extended_documentation: The metric will be removed soon.
171171
unit: s
172172
sum:
173173
value_type: double

cmd/mdatagen/internal/samplescraper/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The metric will be become optional soon.
3636
3737
[DEPRECATED] Non-monotonic delta sum double metric enabled by default.
3838
39-
The metric will be will be removed soon.
39+
The metric will be removed soon.
4040
4141
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
4242
| ---- | ----------- | ---------- | ----------------------- | --------- |

cmd/mdatagen/internal/samplescraper/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ metrics:
135135
default.metric.to_be_removed:
136136
enabled: true
137137
description: "[DEPRECATED] Non-monotonic delta sum double metric enabled by default."
138-
extended_documentation: The metric will be will be removed soon.
138+
extended_documentation: The metric will be removed soon.
139139
unit: s
140140
sum:
141141
value_type: double

0 commit comments

Comments
 (0)