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

@ -6,7 +6,7 @@ import (
"strconv"
"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"
)
@ -66,4 +66,3 @@ func (s *Server) deleteSubnet(w http.ResponseWriter, r *http.Request, name strin
w.WriteHeader(http.StatusAccepted)
json.NewEncoder(w).Encode(Subnet{Name: name, State: "deleting"})
}