Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Jan 18, 2021
1 parent 87bbf88 commit e3b3ea0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import (
"github.com/pingcap-incubator/tidb-dashboard/pkg/apiserver/metrics"
"github.com/pingcap-incubator/tidb-dashboard/pkg/apiserver/profiling"
"github.com/pingcap-incubator/tidb-dashboard/pkg/apiserver/queryeditor"
"github.com/pingcap-incubator/tidb-dashboard/pkg/apiserver/scaffold"

// "github.com/pingcap-incubator/tidb-dashboard/pkg/apiserver/__APP_NAME__"
// NOTE: Don't remove above comment line, it is a placeholder for code generator
Expand Down Expand Up @@ -127,7 +126,6 @@ func (s *Service) Start(ctx context.Context) error {
metrics.NewService,
queryeditor.NewService,
configuration.NewService,
scaffold.NewService,
// __APP_NAME__.NewService,
// NOTE: Don't remove above comment line, it is a placeholder for code generator
),
Expand All @@ -145,7 +143,6 @@ func (s *Service) Start(ctx context.Context) error {
metrics.RegisterRouter,
queryeditor.RegisterRouter,
configuration.RegisterRouter,
scaffold.RegisterRouter,
// __APP_NAME__.RegisterRouter,
// NOTE: Don't remove above comment line, it is a placeholder for code generator
// Must be at the end
Expand Down

0 comments on commit e3b3ea0

Please sign in to comment.