From 166921b797100dadf51a153c8b932aab73dab4ff Mon Sep 17 00:00:00 2001 From: Walther Lee Date: Mon, 30 Sep 2024 10:46:42 -0700 Subject: [PATCH] fix typo in comments --- pkg/metricshandler/metrics_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/metricshandler/metrics_handler.go b/pkg/metricshandler/metrics_handler.go index 76d83f0cc..0a6891473 100644 --- a/pkg/metricshandler/metrics_handler.go +++ b/pkg/metricshandler/metrics_handler.go @@ -70,7 +70,7 @@ func New(opts *options.Options, kubeClient kubernetes.Interface, storeBuilder ks } // BuildWriters builds the metrics writers, cancelling any previous context and passing a new one on every build. -// Build can be used mutlitple times and concurrently. +// Build can be used multiple times and concurrently. func (m *MetricsHandler) BuildWriters(ctx context.Context) { m.mtx.Lock() defer m.mtx.Unlock() @@ -83,7 +83,7 @@ func (m *MetricsHandler) BuildWriters(ctx context.Context) { m.metricsWriters = m.storeBuilder.Build() } -// ConfigureSharding configures sharding. Configuration can be used mutlitple times and +// ConfigureSharding configures sharding. Configuration can be used multiple times and // concurrently. func (m *MetricsHandler) ConfigureSharding(ctx context.Context, shard int32, totalShards int) { m.mtx.Lock()