refactor: adjust BootstrapWorkers function call in server.go to change the order of returned values, improving clarity in dependency management for backend, registry, and pool.
CI / changes (push) Successful in 5s
CI / go (push) Successful in 22s
CI / openapi (push) Has been skipped
CI / bird2 (push) Successful in 15s

This commit is contained in:
Denozordec
2026-04-05 17:45:13 +07:00
parent b7968db4e0
commit 032fa9945c
+1 -2
View File
@@ -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
}