1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

layer: remove unused ErrActiveMount, ErrNotMounted, ErrNotSupported

These errors were added in 500e77bad0, but were
never used.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-02-28 00:14:40 +01:00
parent e8a0a545e7
commit 82f96da04d
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -38,23 +38,10 @@ var (
// used for creation.
ErrMountNameConflict = errors.New("mount already exists with name")
// ErrActiveMount is used when an operation on a
// mount is attempted but the layer is still
// mounted and the operation cannot be performed.
ErrActiveMount = errors.New("mount still active")
// ErrNotMounted is used when requesting an active
// mount but the layer is not mounted.
ErrNotMounted = errors.New("not mounted")
// ErrMaxDepthExceeded is used when a layer is attempted
// to be created which would result in a layer depth
// greater than the 125 max.
ErrMaxDepthExceeded = errors.New("max depth exceeded")
// ErrNotSupported is used when the action is not supported
// on the current host operating system.
ErrNotSupported = errors.New("not support on this host operating system")
)
// ChainID is the content-addressable ID of a layer.