mirror of
https://github.com/containers/podman.git
synced 2025-05-18 07:36:21 +08:00

The define package under Libpod is intended to be an extremely minimal package, including constants and very little else. However, as a result of some legacy code, it was dragging in all of libpod/image (and, less significantly, the util package). Fortunately, this was just to ensure that error constants were not duplicating, and there's nothing preventing us from importing in the other direction and keeping libpod/define free of dependencies. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
17 lines
488 B
Go
17 lines
488 B
Go
package image
|
|
|
|
import (
|
|
"github.com/containers/podman/v2/libpod/define"
|
|
)
|
|
|
|
var (
|
|
// ErrNoSuchCtr indicates the requested container does not exist
|
|
ErrNoSuchCtr = define.ErrNoSuchCtr
|
|
// ErrNoSuchPod indicates the requested pod does not exist
|
|
ErrNoSuchPod = define.ErrNoSuchPod
|
|
// ErrNoSuchImage indicates the requested image does not exist
|
|
ErrNoSuchImage = define.ErrNoSuchImage
|
|
// ErrNoSuchTag indicates the requested image tag does not exist
|
|
ErrNoSuchTag = define.ErrNoSuchTag
|
|
)
|