diff --git a/internal/httpapi/server.go b/internal/httpapi/server.go index 7a76b5f..16fa5ad 100644 --- a/internal/httpapi/server.go +++ b/internal/httpapi/server.go @@ -8,7 +8,6 @@ import ( "errors" "net/http" "strings" - "time" "evobgp/internal/jobs" "evobgp/internal/store" @@ -41,7 +40,7 @@ type Options struct { // New constructs Server and wiring for async jobs. func New(opts Options) (*Server, error) { - backend, pool, reg, err := BootstrapWorkers(context.Background(), opts) + backend, reg, pool, err := BootstrapWorkers(context.Background(), opts) if err != nil { return nil, err }