Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

fix void env supply by yarnScript #2447

Merged
merged 1 commit into from
Mar 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/job-exporter/src/docker_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def parse_docker_inspect(inspect_output):
# for kube-launcher tasks
if k == "FC_TASK_INDEX":
m["PAI_TASK_INDEX"] = v
elif k == "NVIDIA_VISIBLE_DEVICES" and v != "all":
elif k == "NVIDIA_VISIBLE_DEVICES" and v != "all" and v != "void":
m["GPU_ID"] = v

pid = utils.walk_json_field_safe(obj, 0, "State", "Pid")
Expand Down
Loading