perf: k8s tree (#9503)

Co-authored-by: feng <1304903146@qq.com>
pull/9509/head
fit2bot 2 years ago committed by GitHub
parent eebd6c30de
commit ab132e02d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,7 +98,7 @@ class KubernetesClient:
@classmethod
def get_kubernetes_data(cls, asset, secret):
k8s_url = f'{asset.address}:{asset.port}'
k8s_url = f'{asset.address}'
proxy_url = cls.get_proxy_url(asset)
k8s = cls(k8s_url, secret, proxy=proxy_url)
return k8s.get_pods()

Loading…
Cancel
Save