mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6622cc970e
The overlay2 change ensures that the correct path is used to resolve the symlink. The current code will not fail since the symlinks are always given a value of "../id/diff" which ends up ignoring the incorrect "link" value. Fix this code so it doesn't cause unexpected errors in the future if the symlink changes. The layerstore cleanup ensures that the empty layer returns a tar stream if the provided parent is empty. Any value other than empty still returns an error since the empty layer has no parent. Currently empty layer is not used anywhere that TarStreamFrom is used but could break in the future if this function is called. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) |
||
---|---|---|
.. | ||
mount.go | ||
overlay.go | ||
overlay_test.go | ||
overlay_unsupported.go | ||
randomid.go |