Skip to content

Commit

Permalink
fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wallee94 committed Sep 30, 2024
1 parent 7b375e9 commit 166921b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/metricshandler/metrics_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 166921b

Please sign in to comment.