From cad50d4fdf9f616676288982eeacc94fdc849edb Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Fri, 18 Feb 2022 14:27:50 -0500 Subject: [PATCH] Fix kubernetesmgr.py JobStatus bug --- pman/kubernetesmgr.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pman/kubernetesmgr.py b/pman/kubernetesmgr.py index e0c35173..3ecc3ada 100755 --- a/pman/kubernetesmgr.py +++ b/pman/kubernetesmgr.py @@ -72,7 +72,7 @@ def get_job_info(self, job) -> JobInfo: message = condition.message status = JobStatus.finishedWithError break - if status == 'notstarted': + if status == JobStatus.notstarted: if completion_time and succeeded: message = 'finished' status = JobStatus.finishedSuccessfully diff --git a/setup.py b/setup.py index 39259fc1..3b40f159 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name = 'pman', - version = '3.5.0', + version = '3.5.1', description = 'Process Manager', long_description = readme, author = 'FNNDSC Developers',