Skip to content

Commit 9f7ffa0

Browse files
committed
fix: honour error message
1 parent 584daab commit 9f7ffa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ func (p *DockerProvider) CreateContainer(ctx context.Context, req ContainerReque
10521052
for _, f := range req.Files {
10531053
err := c.CopyFileToContainer(ctx, f.HostFilePath, f.ContainerFilePath, f.FileMode)
10541054
if err != nil {
1055-
return fmt.Errorf("can't copy %s to container %s: %w", f.HostFilePath, c.GetContainerID(), err)
1055+
return fmt.Errorf("can't copy %s to container: %w", f.HostFilePath, err)
10561056
}
10571057
}
10581058

0 commit comments

Comments
 (0)