Skip to content

Commit cc75bfb

Browse files
committed
fix: 🐛 Remove SELinux label when parsing volumes from compose_data
1 parent c0a4e43 commit cc75bfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sagemaker/local/image.py

+1
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ def retrieve_artifacts(self, compose_data, output_data_config, job_name):
352352
# Gather the artifacts from all nodes into artifacts/model and artifacts/output
353353
for host in self.hosts:
354354
volumes = compose_data["services"][str(host)]["volumes"]
355+
volumes = [v[:-2] if v.endswith(":z") else v for v in volumes]
355356
for volume in volumes:
356357
if re.search(r"^[A-Za-z]:", volume):
357358
unit, host_dir, container_dir = volume.split(":")

0 commit comments

Comments
 (0)