From f134790dcb9464a38d133272a9cf055451aafc5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=85=A8?= Date: Tue, 18 Jun 2019 10:31:04 +0800 Subject: [PATCH] =?UTF-8?q?v0.4.2=20=20=E4=BC=98=E5=8C=96k8s=20webssh=20?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/consumers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/k8s/consumers.py b/k8s/consumers.py index a1c1712..f2c94d1 100644 --- a/k8s/consumers.py +++ b/k8s/consumers.py @@ -18,10 +18,8 @@ class K8SStreamThread(threading.Thread): self.stream = container_stream def run(self): - # while not self.ws.exit_status_ready(): while self.stream.is_open(): time.sleep(0.1) - if not self.stream.is_open(): self.ws.close() try: