Skip to content

Commit a62d6ae

Browse files
authored
chore: fix function names in comment (#5856)
Signed-off-by: kindknow <[email protected]>
1 parent c9dd068 commit a62d6ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

integration/e2e/metrics_options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ func WithLabelMatchers(matchers ...*labels.Matcher) MetricsOption {
3838
}
3939
}
4040

41-
// WithWaitMissingMetrics is an option to wait whenever an expected metric is missing. If this
41+
// WaitMissingMetrics is an option to wait whenever an expected metric is missing. If this
4242
// option is not enabled, will return error on missing metrics.
4343
func WaitMissingMetrics(opts *MetricsOptions) {
4444
opts.WaitMissingMetrics = true
4545
}
4646

47-
// SkipWaitMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
47+
// SkipMissingMetrics is an option to skip/ignore whenever an expected metric is missing.
4848
func SkipMissingMetrics(opts *MetricsOptions) {
4949
opts.SkipMissingMetrics = true
5050
}

pkg/ingester/ingester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ func (u *userTSDB) blocksToDelete(blocks []*tsdb.Block) map[ulid.ULID]struct{} {
448448
return result
449449
}
450450

451-
// updateCachedShipperBlocks reads the shipper meta file and updates the cached shipped blocks.
451+
// updateCachedShippedBlocks reads the shipper meta file and updates the cached shipped blocks.
452452
func (u *userTSDB) updateCachedShippedBlocks() error {
453453
shipperMeta, err := shipper.ReadMetaFile(u.shipperMetadataFilePath)
454454
if os.IsNotExist(err) || os.IsNotExist(errors.Cause(err)) {

0 commit comments

Comments
 (0)