diff --git a/core/discov/internal/registry.go b/core/discov/internal/registry.go index e4ad0e963..33963e273 100644 --- a/core/discov/internal/registry.go +++ b/core/discov/internal/registry.go @@ -518,7 +518,7 @@ func makeKeyPrefix(key string) string { return fmt.Sprintf("%s%c", key, Delimiter) } -// NewClient returns a watchValue that make sure values are not nil. +// newWatchValue returns a watchValue that make sure values are not nil. func newWatchValue() *watchValue { return &watchValue{ values: make(map[string]string), diff --git a/core/stores/monc/cachedmodel_test.go b/core/stores/monc/cachedmodel_test.go index 4f8fe8fbc..940db8626 100644 --- a/core/stores/monc/cachedmodel_test.go +++ b/core/stores/monc/cachedmodel_test.go @@ -542,7 +542,7 @@ func mustNewTestModel(collection mon.Collection, c cache.CacheConf, opts ...cach } } -// NewNodeModel returns a test Model with a cache node. +// mustNewTestNodeModel returns a test Model with a cache node. func mustNewTestNodeModel(collection mon.Collection, rds *redis.Redis, opts ...cache.Option) *Model { c := cache.NewNode(rds, singleFlight, stats, mongo.ErrNoDocuments, opts...) return &Model{