File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
service/sharddistributor/store/etcd Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ))
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments