mirror of
				https://github.com/clearml/clearml-agent
				synced 2025-06-26 18:16:15 +00:00 
			
		
		
		
	Fix Task docker arguments passed twice
This commit is contained in:
		
							parent
							
								
									7115a9b9a7
								
							
						
					
					
						commit
						6a1bf11549
					
				@ -3961,7 +3961,7 @@ class Worker(ServiceCommandSection):
 | 
			
		||||
 | 
			
		||||
        base_cmd += ['-e', 'CLEARML_WORKER_ID='+worker_id, ]
 | 
			
		||||
        # update the docker image, so the system knows where it runs
 | 
			
		||||
        base_cmd += ['-e', 'CLEARML_DOCKER_IMAGE={} {}'.format(docker_image, ' '.join(docker_arguments or [])).strip()]
 | 
			
		||||
        base_cmd += ['-e', 'CLEARML_DOCKER_IMAGE={}'.format(docker_image)]
 | 
			
		||||
 | 
			
		||||
        if env_task_id:
 | 
			
		||||
            base_cmd += ['-e', 'CLEARML_TASK_ID={}'.format(env_task_id), ]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user