mirror of
https://github.com/moby/moby.git
synced 2026-07-15 03:51:57 +00:00
This fix updates swarmkit to 68a376dc30d8c4001767c39456b990dbd821371b: ``` -github.com/docker/swarmkit 713d79dc8799b33465c58ed120b870c52eb5eb4f +github.com/docker/swarmkit 68a376dc30d8c4001767c39456b990dbd821371b ``` Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
23 lines
673 B
Go
23 lines
673 B
Go
package agent
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrClosed is returned when an operation fails because the resource is closed.
|
|
ErrClosed = errors.New("agent: closed")
|
|
|
|
errNodeNotRegistered = errors.New("node not registered")
|
|
|
|
errAgentStarted = errors.New("agent: already started")
|
|
errAgentNotStarted = errors.New("agent: not started")
|
|
|
|
errTaskNoController = errors.New("agent: no task controller")
|
|
errTaskNotAssigned = errors.New("agent: task not assigned")
|
|
errTaskStatusUpdateNoChange = errors.New("agent: no change in task status")
|
|
errTaskUnknown = errors.New("agent: task unknown")
|
|
|
|
errTaskInvalid = errors.New("task: invalid")
|
|
)
|