Skip to content

Commit 5ce0465

Browse files
committed
Rename
Signed-off-by: Jakob Haahr Taankvist <[email protected]>
1 parent 298f92f commit 5ce0465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/sharddistributor/store/etcd/module.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type StoreParams struct {
2121
ShardToExecutorCache *shardcache.ShardToExecutorCache
2222
}
2323

24-
func NewCombined(p StoreParams) store.Store {
24+
func NewStore(p StoreParams) store.Store {
2525
return &Store{
2626
ExecutorStore: p.Store,
2727
ShardToExecutorCache: p.ShardToExecutorCache,
@@ -32,7 +32,7 @@ var Module = fx.Module("etcd",
3232
fx.Provide(executorstore.NewStore),
3333
fx.Provide(shardcache.NewShardToExecutorCache),
3434
fx.Provide(leaderstore.NewLeaderStore),
35-
fx.Provide(NewCombined),
35+
fx.Provide(NewStore),
3636
fx.Invoke(func(store executorstore.ExecutorStore, cache *shardcache.ShardToExecutorCache, lc fx.Lifecycle) {
3737
lc.Append(fx.StartStopHook(cache.Start, cache.Stop))
3838
lc.Append(fx.StartStopHook(store.Start, store.Stop))

0 commit comments

Comments
 (0)