Fix Pulsar remote staging that I broke when adding nginx_upload_module

support in #110.
This commit is contained in:
Nate Coraor
2015-05-06 14:15:16 -04:00
parent 4c7c2955cb
commit 281233f7e5
+1 -1
View File
@@ -342,7 +342,7 @@ class PulsarJobRunner( AsynchronousJobRunner ):
encoded_job_id = self.app.security.encode_id(job_id)
job_key = self.app.security.encode_id( job_id, kind="jobs_files" )
endpoint_base = "%s/api/jobs/%s?job_key=%s"
endpoint_base = "%s/api/jobs/%s/files?job_key=%s"
if self.app.config.nginx_upload_job_files_path:
endpoint_base = "%s" + \
self.app.config.nginx_upload_job_files_path + \