Skip to content

Commit

Permalink
fix: build api failure (#2004)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail authored Nov 12, 2024
1 parent 98dfbba commit cd7253b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controller/apigateway/api_gateway_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func (g Struct) CreateTCPRoute(w http.ResponseWriter, r *http.Request) {
Type: corev1.ServiceTypeNodePort,
}
serviceID := r.URL.Query().Get("service_id")
e, err := k.Services(tenant.Namespace).Create(r.Context(), &corev1.Service{
_, err := k.Services(tenant.Namespace).Create(r.Context(), &corev1.Service{
ObjectMeta: v1.ObjectMeta{
Labels: map[string]string{
"tcp": "true",
Expand Down

0 comments on commit cd7253b

Please sign in to comment.