From 5ef61dcdb245da7d89dad8c24ed9a9c3af357ca0 Mon Sep 17 00:00:00 2001 From: xiaoyangmai <> Date: Thu, 23 Jun 2022 15:07:34 +0800 Subject: [PATCH] =?UTF-8?q?(fixbug):=E6=8E=A8=E7=90=86=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=9B=91=E5=90=AC=E7=AB=AF=E5=8F=A3=E5=92=8C=E7=94=9F=E5=91=BD?= =?UTF-8?q?=E6=8E=A2=E9=92=88=E6=8E=A5=E5=8F=A3=E9=87=8D=E5=A4=8D=EF=BC=8C?= =?UTF-8?q?=E5=8E=BB=E9=87=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myapp/views/view_inferenceserving.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/myapp/views/view_inferenceserving.py b/myapp/views/view_inferenceserving.py index bf54f73a..95e16461 100644 --- a/myapp/views/view_inferenceserving.py +++ b/myapp/views/view_inferenceserving.py @@ -920,6 +920,7 @@ instance_group [ except Exception as e: print(e) + pod_ports = list(set(pod_ports)) k8s_client.create_deployment( namespace=namespace, name=name, @@ -1115,4 +1116,4 @@ class InferenceService_ModelView_Api(InferenceService_ModelView_base,MyappModelR 'metrics', 'health', 'expand','volume_mount'] edit_columns = add_columns -appbuilder.add_api(InferenceService_ModelView_Api) \ No newline at end of file +appbuilder.add_api(InferenceService_ModelView_Api)