mirror of
https://github.com/moby/moby.git
synced 2026-01-12 03:01:38 +00:00
These comments were added to enforce using the correct import path for
our packages ("github.com/docker/docker", not "github.com/moby/moby").
However, when working in go module mode (not GOPATH / vendor), they have
no effect, so their impact is limited.
Remove these imports in preparation of migrating our code to become an
actual go module.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
18 lines
510 B
Go
18 lines
510 B
Go
package container
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrImageRequired returned if a task is missing the image definition.
|
|
ErrImageRequired = errors.New("dockerexec: image required")
|
|
|
|
// ErrContainerDestroyed returned when a container is prematurely destroyed
|
|
// during a wait call.
|
|
ErrContainerDestroyed = errors.New("dockerexec: container destroyed")
|
|
|
|
// ErrContainerUnhealthy returned if controller detects the health check failure
|
|
ErrContainerUnhealthy = errors.New("dockerexec: unhealthy container")
|
|
)
|