Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxu19830126 committed Nov 28, 2018
1 parent 8207dc1 commit dda052a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/api/api_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"syscall"
"time"

"github.com/bcicen/grmon/agent"
"github.com/coreos/etcd/clientv3"
"github.com/fagongzi/gateway/pkg/pb/rpcpb"
"github.com/fagongzi/gateway/pkg/service"
Expand All @@ -33,7 +32,6 @@ var (
ui = flag.String("ui", "/app/gateway/ui", "The gateway ui dist dir.")
uiPrefix = flag.String("ui-prefix", "/ui", "The gateway ui prefix path.")
version = flag.Bool("version", false, "Show version info")
m = flag.Bool("m", false, "Show version info")
)

func main() {
Expand All @@ -43,10 +41,6 @@ func main() {
os.Exit(0)
}

if *m {
grmon.Start()
}

log.InitLog()
runtime.GOMAXPROCS(runtime.NumCPU())

Expand Down

0 comments on commit dda052a

Please sign in to comment.