Skip to content

Commit

Permalink
fix: create same func (#2056)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <101104760+ZhangSetSail@users.noreply.github.com>
  • Loading branch information
ZhangSetSail authored Nov 20, 2024
1 parent 55c6d8c commit dd67274
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/controller/apigateway/api_gateway_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,6 @@ func (g Struct) CreateHTTPAPIRoute(w http.ResponseWriter, r *http.Request) {
httputil.ReturnSuccess(r, w, marshalApisixRoute(update))
}

func (g Struct) UpdateHTTPAPIRoute() {

}

func marshalApisixRoute(r *v2.ApisixRoute) map[string]interface{} {
r.TypeMeta.Kind = util.ApisixRoute
r.TypeMeta.APIVersion = util.APIVersion
Expand Down

0 comments on commit dd67274

Please sign in to comment.