Skip to content

Commit

Permalink
Fix DI
Browse files Browse the repository at this point in the history
  • Loading branch information
mindaugasrukas committed Nov 16, 2022
1 parent 47e8dc9 commit 07ca7b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/history/fx.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import (
"go.temporal.io/server/common/searchattribute"
"go.temporal.io/server/service"
"go.temporal.io/server/service/history/api"
"go.temporal.io/server/service/history/cache"
"go.temporal.io/server/service/history/configs"
"go.temporal.io/server/service/history/consts"
"go.temporal.io/server/service/history/events"
Expand All @@ -65,6 +66,7 @@ var Module = fx.Options(
resource.Module,
workflow.Module,
shard.Module,
cache.Module,
fx.Provide(dynamicconfig.NewCollection),
fx.Provide(ConfigProvider), // might be worth just using provider for configs.Config directly
fx.Provide(RetryableInterceptorProvider),
Expand Down

0 comments on commit 07ca7b1

Please sign in to comment.