Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed May 3, 2024
1 parent 6229197 commit 7042b36
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions server/neptune/adhoc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,7 @@ func NewServer(config *adhocconfig.Config) (*Server, error) {
"mode": "adhoc",
})

jobStore, err := job.NewStorageBackendStore(config.JobConfig, scope.SubScope("job.store"), config.CtxLogger)
if err != nil {
return nil, errors.Wrapf(err, "initializing job store")
}
receiverRegistry := job.NewReceiverRegistry()

jobStreamHandler := job.NewStreamHandler(jobStore, receiverRegistry, config.TerraformCfg.LogFilters, config.CtxLogger)
noopJobStreamHandler := &job.NoopStreamHandler{}

Check failure on line 85 in server/neptune/adhoc/server.go

View workflow job for this annotation

GitHub Actions / runner / gotest

undefined: job.NoopStreamHandler

Check failure on line 85 in server/neptune/adhoc/server.go

View workflow job for this annotation

GitHub Actions / runner / golangci-lint

undefined: job.NoopStreamHandler (typecheck)

Check failure on line 85 in server/neptune/adhoc/server.go

View workflow job for this annotation

GitHub Actions / runner / golangci-lint

undefined: job.NoopStreamHandler) (typecheck)

opts := &temporal.Options{
StatsReporter: statsReporter,
Expand Down Expand Up @@ -124,7 +118,7 @@ func NewServer(config *adhocconfig.Config) (*Server, error) {
config.ServerCfg.URL,
config.TemporalCfg.TerraformTaskQueue,
config.GithubCfg.TemporalAppInstallationID,
jobStreamHandler,
noopJobStreamHandler,
)
if err != nil {
return nil, errors.Wrap(err, "initializing terraform activities")
Expand Down

0 comments on commit 7042b36

Please sign in to comment.