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

Task #10898: when too few claims were inserted, task should get status error, not conflict

parent 98f383cc
No related branches found
No related tags found
No related merge requests found
......@@ -338,7 +338,7 @@ class ResourceAssigner():
logger.info('doAssignment: %d claims were inserted in the radb' % len(claim_ids))
if len(claim_ids) != len(claims):
logger.error('doAssignment: too few claims were inserted in the radb')
self._announceStateChange(task, 'conflict')
self._announceStateChange(task, 'error')
return
conflictingClaims = self.radbrpc.getResourceClaims(task_ids=taskId, status='conflict')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment