Skip to content

Commit

Permalink
fix: opeb outer port failure (#2010)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail authored Nov 14, 2024
1 parent da0ee46 commit 7abfb61
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 @@ -342,7 +342,7 @@ func (g Struct) CreateTCPRoute(w http.ResponseWriter, r *http.Request) {
}

// 如果服务不存在,创建新的服务
_, err := k.Services(tenant.Namespace).Create(r.Context(), &corev1.Service{
svc, 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 7abfb61

Please sign in to comment.