Skip to content
Snippets Groups Projects
Commit acb0f525 authored by Ryan Sanford's avatar Ryan Sanford Committed by GitHub
Browse files

Merge pull request #613 from scitran/prefetch-job-fix

Use the new gear doc hiearchy for prefetch jobs
parents 697f0d0e 74dfd9ea
No related branches found
Tags 1.0.54
No related merge requests found
......@@ -83,7 +83,7 @@ def insert_gear(doc):
config.db.gears.insert(doc)
if config.get_item('queue', 'prefetch'):
log.info('Queuing prefetch job for gear ' + doc['name'])
log.info('Queuing prefetch job for gear ' + doc['gear']['name'])
job = Job(doc['gear']['name'], {}, destination={}, tags=['prefetch'], request={
'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