Skip to content

Commit

Permalink
feat: remove version match on api
Browse files Browse the repository at this point in the history
  • Loading branch information
okaybase authored and lixingwang committed Aug 5, 2021
1 parent 23cbc8a commit 334f1be
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions api/internal/handler/tool/tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ import (
"github.com/shiningrush/droplet"
wgin "github.com/shiningrush/droplet/wrapper/gin"

"github.com/apisix/manager-api/internal/core/store"
"github.com/apisix/manager-api/internal/handler"
"github.com/apisix/manager-api/internal/utils"
)

type Handler struct {
serverInfoStore store.Interface
}

type InfoOutput struct {
Expand All @@ -36,9 +34,7 @@ type InfoOutput struct {
}

func NewHandler() (handler.RouteRegister, error) {
return &Handler{
serverInfoStore: store.GetStore(store.HubKeyServerInfo),
}, nil
return &Handler{}, nil
}

func (h *Handler) ApplyRoute(r *gin.Engine) {
Expand Down

0 comments on commit 334f1be

Please sign in to comment.