mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
514adcf458
Signed-off-by: Ke Li <kel@splunk.com> Add missing changes Signed-off-by: Ke Li <kel@splunk.com> User errors.New to create error Signed-off-by: Ke Li <kel@splunk.com>
17 lines
510 B
Go
17 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")
|
|
)
|