Skip to content

Commit 922f440

Browse files
committed
pkg/compose: remove aliases for container-state consts
These are no longer used, and have no known external consumers. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent b100141 commit 922f440

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

pkg/compose/container.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ import (
2020
"io"
2121

2222
moby "github.com/docker/docker/api/types"
23-
"github.com/docker/docker/api/types/container"
24-
)
25-
26-
const (
27-
ContainerCreated = container.StateCreated // StateCreated indicates the container is created, but not (yet) started.
28-
ContainerRunning = container.StateRunning // StateRunning indicates that the container is running.
29-
ContainerPaused = container.StatePaused // StatePaused indicates that the container's current state is paused.
30-
ContainerRestarting = container.StateRestarting // StateRestarting indicates that the container is currently restarting.
31-
ContainerRemoving = container.StateRemoving // StateRemoving indicates that the container is being removed.
32-
ContainerExited = container.StateExited // StateExited indicates that the container exited.
33-
ContainerDead = container.StateDead // StateDead indicates that the container failed to be deleted. Containers in this state are attempted to be cleaned up when the daemon restarts.
3423
)
3524

3625
var _ io.ReadCloser = ContainerStdout{}

0 commit comments

Comments
 (0)