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