start: fix non fonctional metadata server

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2025-12-04 00:00:14 +01:00
commit 3b64498086
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
package main package main
import (
"git.g3e.fr/syonad/two/internal/metadata"
)
func main() { func main() {
metadata.startServer() metadata.StartServer()
} }

View file

@ -51,7 +51,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) {
} }
} }
func startServer() { func StartServer() {
flag.Parse() flag.Parse()
if *file == "" { if *file == "" {