Skip to content

Commit

Permalink
fix: update the LastUpdateTime when setting the job to Matched status
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Jun 26, 2024
1 parent 694e481 commit 9125b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/WorkloadManagementSystem/Client/Matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _reportStatus(self, resourceDict, jobID):
"""
attNames = ["Status", "MinorStatus", "ApplicationStatus", "Site"]
attValues = ["Matched", "Assigned", "Unknown", resourceDict["Site"]]
result = self.jobDB.setJobAttributes(jobID, attNames, attValues)
result = self.jobDB.setJobAttributes(jobID, attNames, attValues, update=True)
if not result["OK"]:
self.log.error("Problem reporting job status", f"setJobAttributes, jobID = {jobID}: {result['Message']}")
else:
Expand Down

0 comments on commit 9125b4b

Please sign in to comment.