From ac14a70c51d8bae5929729d10a7df0bdc6e68add Mon Sep 17 00:00:00 2001 From: hoilc Date: Thu, 24 Aug 2023 16:10:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=80=9A=E8=BF=87=E7=BD=91=E5=9F=9F?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5k8s=E6=97=B6=E6=94=AF=E6=8C=81=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/utils/k8s.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/utils/k8s.py b/apps/assets/utils/k8s.py index dbfd20ecf..2b33ded89 100644 --- a/apps/assets/utils/k8s.py +++ b/apps/assets/utils/k8s.py @@ -66,7 +66,7 @@ class KubernetesClient: remote_bind_address = ( urlparse(asset.address).hostname, - urlparse(asset.address).port + urlparse(asset.address).port or 443 ) server = SSHTunnelForwarder( (gateway.address, gateway.port),