From c58a7f9edfa04eb29ceaf1c6ef655a943b8beffc Mon Sep 17 00:00:00 2001 From: Andy Lake Date: Wed, 19 Feb 2025 09:47:15 -0500 Subject: [PATCH] Fixes #150. properly sets schema when priority present. --- psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task.py b/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task.py index 68802325..5a63daf2 100644 --- a/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task.py +++ b/psconfig/perfsonar-psconfig/psconfig/client/pscheduler/task.py @@ -375,7 +375,7 @@ def add_local_lead_bind_map(self, bind=None): def post_task(self): if self.schema() is None: - if self.priority() is None: + if self.priority() is not None: #priority introduced in v3 self.schema(3) elif self.contexts():