Skip to content
Snippets Groups Projects
Commit 1add1e59 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

A newly created object should guarantee created == modified

parent 3570e4a8
No related branches found
No related tags found
No related merge requests found
......@@ -59,12 +59,14 @@ def createJob(db, jobType, containerType, containerID):
# TODO validate container exists
now = datetime.datetime.now()
job = {
'state': 'pending',
'attempt': 1,
'created': datetime.datetime.now(),
'modified': datetime.datetime.now(),
'created': now,
'modified': now,
'inputs': [
{
......
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