frontend: fix build
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
5bb1a3f400
commit
f69fd6b0e2
1 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue