Commit e14edcb0 authored by vicotor's avatar vicotor

update rootcmd

parent b1444840
......@@ -3,6 +3,7 @@ package main
import (
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
"github.com/odysseus/scheduler/config"
"github.com/odysseus/scheduler/metrics"
"github.com/odysseus/scheduler/server"
"github.com/rifflock/lfshook"
log "github.com/sirupsen/logrus"
......@@ -73,6 +74,7 @@ func runNode() {
if err != nil {
log.WithError(err).Fatal("node start failed")
}
metrics.StartMetrics()
wg := sync.WaitGroup{}
wg.Add(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment