f-21: refacto: move dispatcher to agent specific files

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-04-23 22:38:20 +02:00
commit 19434b1848
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
9 changed files with 6 additions and 8 deletions

View file

@ -5,7 +5,7 @@ import (
"net/http"
"strings"
"git.g3e.fr/syonad/two/internal/dispatcher"
dispatcher "git.g3e.fr/syonad/two/internal/dispatcher/agent"
"git.g3e.fr/syonad/two/pkg/db/kv"
)
@ -44,4 +44,3 @@ func (s *Server) deleteVpc(w http.ResponseWriter, _ *http.Request, name string)
w.WriteHeader(http.StatusAccepted)
json.NewEncoder(w).Encode(VPC{Name: name, State: "deleting"})
}