Skip to content

Commit

Permalink
Fix archiver provider in onebox (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Jul 24, 2019
1 parent b64466a commit 5e3282d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions host/onebox.go
Expand Up @@ -130,7 +130,7 @@ type (
Logger log.Logger
ClusterNo int
EnableEventsV2 bool
archiverProvider provider.ArchiverProvider
ArchiverProvider provider.ArchiverProvider
EnableReadHistoryFromArchival bool
HistoryConfig *HistoryConfig
ESConfig *elasticsearch.Config
Expand Down Expand Up @@ -165,7 +165,7 @@ func NewCadence(params *CadenceParams) Cadence {
enableEventsV2: params.EnableEventsV2,
esConfig: params.ESConfig,
esClient: params.ESClient,
archiverProvider: params.archiverProvider,
archiverProvider: params.ArchiverProvider,
historyConfig: params.HistoryConfig,
workerConfig: params.WorkerConfig,
}
Expand Down
2 changes: 1 addition & 1 deletion host/testcluster.go
Expand Up @@ -164,7 +164,7 @@ func NewCluster(options *TestClusterConfig, logger log.Logger) (*TestCluster, er
EnableEventsV2: options.EnableEventsV2,
ESConfig: &options.ESConfig,
ESClient: esClient,
archiverProvider: archiverBase.provider,
ArchiverProvider: archiverBase.provider,
HistoryConfig: options.HistoryConfig,
WorkerConfig: options.WorkerConfig,
}
Expand Down

0 comments on commit 5e3282d

Please sign in to comment.