fix: Update error message format based on feedback
Signed-off-by: June Rhodes <504826+hach-que@users.noreply.github.com>
This commit is contained in:
parent
3193650f13
commit
f48ae22273
@ -70,7 +70,7 @@ func parseMount(osi osinterface.OS, mount *runtime.Mount) (*runtimespec.Mount, e
|
|||||||
originalSrc := src
|
originalSrc := src
|
||||||
src, err = osi.ResolveSymbolicLink(src)
|
src, err = osi.ResolveSymbolicLink(src)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to resolve symlink '%q' (resolved to '%q'): %w", originalSrc, src, err)
|
return nil, fmt.Errorf("failed to resolve symlink %q: %w", originalSrc, err)
|
||||||
}
|
}
|
||||||
// hcsshim requires clean path, especially '/' -> '\'. Additionally,
|
// hcsshim requires clean path, especially '/' -> '\'. Additionally,
|
||||||
// for the destination, absolute paths should have the C: prefix.
|
// for the destination, absolute paths should have the C: prefix.
|
||||||
|
Loading…
Reference in New Issue
Block a user