Fix bad import rebase artifacts

This commit is contained in:
Jan-Eric Hellenberg
2021-05-10 12:08:02 +02:00
committed by Jan-Eric Hellenberg
parent 13052fa021
commit e45cd92557
5 changed files with 17 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ func runServer(server *http.Server) {
}
}
func initServer(runnerPool pool.RunnerPool) *http.Server {
func initServer(runnerPool environment.RunnerPool) *http.Server {
return &http.Server{
Addr: config.Config.PoseidonAPIURL().Host,
WriteTimeout: time.Second * 15,
@@ -75,7 +75,7 @@ func main() {
}
// ToDo: Move to create execution environment
runnerPool := pool.NewLocalRunnerPool()
runnerPool := environment.NewLocalRunnerPool()
environment.DebugInit(runnerPool, nomadAPIClient)
server := initServer(runnerPool)