fix non fonctional metadata server
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
c9ff8adf65
commit
de6a5d24a6
2 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"git.g3e.fr/syonad/two/internal/metadata"
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
metadata.startServer()
|
metadata.StartServer()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func startServer() {
|
func StartServer() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if *file == "" {
|
if *file == "" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue