mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 00:56:53 +00:00
Fix KeyError if container does not contain the arguments field
This commit is contained in:
parent
ba4fee7b19
commit
9ad49a0d21
@ -587,7 +587,7 @@ class K8sIntegration(Worker):
|
||||
clearml_conf_create_script=clearml_conf_create_script,
|
||||
labels=labels,
|
||||
docker_image=container['image'],
|
||||
docker_args=container['arguments'],
|
||||
docker_args=container.get('arguments'),
|
||||
docker_bash=container.get('setup_shell_script'),
|
||||
task_id=task_id,
|
||||
queue=queue,
|
||||
|
Loading…
Reference in New Issue
Block a user