Skip to content

Commit

Permalink
fix: add log
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail committed Dec 30, 2024
1 parent 03d6344 commit 2b979e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/controller/apigateway/api_gateway_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (g Struct) CreateAPIService(w http.ResponseWriter, r *http.Request) {
httputil.ReturnSuccess(r, w, marshalApisixUpstream(create))
return
}
logrus.Errorf("create ApisixUpstreams failure: %v", err)
// 去更新 yaml
get, err := c.ApisixUpstreams(tenant.Namespace).Get(r.Context(), chi.URLParam(r, "name"), v1.GetOptions{})
if err != nil {
Expand Down

0 comments on commit 2b979e5

Please sign in to comment.