frontend: fix build

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-17 11:48:43 -07:00
parent 5bb1a3f400
commit f69fd6b0e2

View file

@ -63,14 +63,14 @@ type frontendServer struct {
} }
func main() { func main() {
go initProfiling(frontend, "1.0.0")
go initTracing(log)
ctx := context.Background() ctx := context.Background()
log := logrus.New() log := logrus.New()
log.Level = logrus.DebugLevel log.Level = logrus.DebugLevel
log.Formatter = &logrus.TextFormatter{} log.Formatter = &logrus.TextFormatter{}
go initProfiling(frontend, "1.0.0")
go initTracing(log)
srvPort := port srvPort := port
if os.Getenv("PORT") != "" { if os.Getenv("PORT") != "" {
srvPort = os.Getenv("PORT") srvPort = os.Getenv("PORT")