Only use job_id as service name.

This commit is contained in:
Patrick Jentsch 2019-08-09 09:13:24 +02:00
parent 1d6f1a8933
commit 4d99c52983

View File

@ -52,7 +52,7 @@ class Swarm:
'jobs',
str(job.id))
+ ':/files:rw']
_name = str(job.user_id) + '_' + str(job.id)
_name = str(job.id)
'''
' The Docker SDK for Python expects the cpu_reservation value to be
' scaled to nanos (10^9). Because the job object contains unscaled