Skip to content

Commit b6e67bc

Browse files
committed
fix mis-spell and e2e instances
Signed-off-by: Yi Jin <[email protected]>
1 parent 7913f6d commit b6e67bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/extprom/http/instrument_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type ClientMetrics struct {
2323

2424
// NewClientMetrics creates a new instance of ClientMetrics.
2525
// It will also register the metrics with the included register.
26-
// This ClientMetrics should be re-used for diff clients with the same purpose.
26+
// This ClientMetrics should be reused for diff clients with the same purpose.
2727
// e.g. 1 ClientMetrics should be used for all the clients that talk to Alertmanager.
2828
func NewClientMetrics(reg prometheus.Registerer) *ClientMetrics {
2929
var m ClientMetrics

pkg/query/endpointset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ func (e *EndpointSet) Update(ctx context.Context) {
460460
if er.HasStoreAPI() && (er.ComponentType() == component.Sidecar || er.ComponentType() == component.Rule) &&
461461
stats[component.Sidecar.String()][extLset]+stats[component.Rule.String()][extLset] > 0 {
462462

463-
level.Warn(e.logger).Log("msg", "found duplicate storeEndpoints producer (sidecar or ruler). This is not advices as it will malform data in in the same bucket",
463+
level.Warn(e.logger).Log("msg", "found duplicate storeEndpoints producer (sidecar or ruler). This is not advice as it will malform data in in the same bucket",
464464
"address", addr, "extLset", extLset, "duplicates", fmt.Sprintf("%v", stats[component.Sidecar.String()][extLset]+stats[component.Rule.String()][extLset]+1))
465465
}
466466
stats[er.ComponentType().String()][extLset]++

pkg/runutil/runutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
// The rununtil.Exhaust* family of functions provide the same functionality but
4646
// they take an io.ReadCloser and they exhaust the whole reader before closing
4747
// them. They are useful when trying to use http keep-alive connections because
48-
// for the same connection to be re-used the whole response body needs to be
48+
// for the same connection to be reused the whole response body needs to be
4949
// exhausted.
5050
package runutil
5151

0 commit comments

Comments
 (0)