Skip to content

Commit 2d8ddba

Browse files
committed
reset unintentional changes
1 parent 94dd401 commit 2d8ddba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/manager/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func Run(ctx context.Context, logger logr.Logger) error {
111111

112112
if cfg.SecureMetrics {
113113
// FilterProvider is used to protect the metrics endpoint with authn/authz.
114-
// These configuration ensure that only authorized users and service accounts
114+
// These configurations ensure that only authorized users and service accounts
115115
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
116116
// https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/metrics/filters#WithAuthenticationAndAuthorization
117117
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization

internal/types/duration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
// TimeDuration is yet another time.Duration but implements json.Unmarshaler
2727
// and json.Marshaler, yaml.Unmarshaler and yaml.Marshaler interfaces so one
28-
// can use "1h", "5s" and etc in their json/yaml configuration.
28+
// can use "1h", "5s" and etc in their json/yaml configurations.
2929
//
3030
// Note the format to represent time is same as time.Duration.
3131
// See the comments about time.ParseDuration for more details.

0 commit comments

Comments
 (0)