[skip ci] complete k8s provider deleting pod logic (#4553)

Signed-off-by: yinghao.zou <yinghao.zou@zilliz.com>
pull/4563/head
BossZou 2020-12-31 11:39:49 +08:00 committed by GitHub
parent e0d33e5546
commit ec0291a08d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class EventHandler(threading.Thread):
self.terminate = True
def on_drop(self, event, **kwargs):
pass
self.mgr.delete_pod(event['pod'])
def on_pod_started(self, event, **kwargs):
try_cnt = 3