4ee918032b1ff310ba2ab44d0c0752bd536950cb
This fix tries to address the issue raised in #22271 where relative symlinks don't work with --device argument. Previously, the symlinks in --device was implemneted (#20684) with `os.Readlink()` which does not resolve if the linked target is a relative path. In this fix, `filepath.EvalSymlinks()` has been used which will reolve correctly with relative paths. An additional test case has been added to the existing `TestRunDeviceSymlink` to cover changes in this fix. This fix is related to #13840 and #20684, #22271. This fix fixes #22271. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: 632b314b239d1cd5e2498f198503a2983233a9f4 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%