Skip to content

Commit

Permalink
fix: delete svc failure (#1600)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail authored Jan 13, 2025
1 parent e621167 commit 3e738cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/services/app_config/port_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def __close_outer(self, tenant, service, region, deal_port, user_name=''):
service_tcp_domain.is_outer_service = False
service_tcp_domain.save()
svc = port_repo.get_service_port_by_port(tenant.tenant_id, service.service_id, deal_port.container_port)
path = f"/v2/proxy-pass/gateway/{tenant.tenant_name}/routes/tcp/{svc.k8s_service_name}-{svc.protocol}-{deal_port.container_port}"
path = f"/v2/proxy-pass/gateway/{tenant.tenant_name}/routes/tcp/{svc.k8s_service_name}-{deal_port.container_port}"
region_api.delete_proxy(region.region_name, path)
if service.create_status == "complete":
from console.services.plugin import app_plugin_service
Expand Down

0 comments on commit 3e738cf

Please sign in to comment.