Skip to content
Snippets Groups Projects
Commit 81e85fa9 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #9607: typo's

parent 61bb0545
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ class ResourceAssigner(): ...@@ -175,7 +175,7 @@ class ResourceAssigner():
logger.error("Error in estimator: %s", error) logger.error("Error in estimator: %s", error)
logger.error("Error(s) in estimator for otdb_id=%s radb_id=%s, setting task status to 'error'", otdb_id, taskId) logger.error("Error(s) in estimator for otdb_id=%s radb_id=%s, setting task status to 'error'", otdb_id, taskId)
self.radbrpc.updateTask(taskId, task_status='error') self.radbrpc.updateTask(taskId, status='error')
self._sendNotification(task, 'error') self._sendNotification(task, 'error')
else: else:
claimed, claim_ids = self.claimResources(main_needed, task) claimed, claim_ids = self.claimResources(main_needed, task)
...@@ -195,7 +195,7 @@ class ResourceAssigner(): ...@@ -195,7 +195,7 @@ class ResourceAssigner():
self.processPredecessors(specification_tree) self.processPredecessors(specification_tree)
else: else:
logger.warning('doAssignment: Not all claims could be inserted. Setting task %s status to conflict' % (taskId)) logger.warning('doAssignment: Not all claims could be inserted. Setting task %s status to conflict' % (taskId))
self.radbrpc.updateTask(taskId, task_status='conflict') self.radbrpc.updateTask(taskId, status='conflict')
self._sendNotification(task, 'conflict') self._sendNotification(task, 'conflict')
def _sendNotification(self, task, status): def _sendNotification(self, task, status):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment