From beb81a73f92e81e721739a8106a41d8f80918e39 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 8 Sep 2025 10:42:52 +0200 Subject: [PATCH] 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 --- pkg/compose/container.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkg/compose/container.go b/pkg/compose/container.go index a1f938ab5..502547ddc 100644 --- a/pkg/compose/container.go +++ b/pkg/compose/container.go @@ -20,17 +20,6 @@ import ( "io" moby "github.com/docker/docker/api/types" - "github.com/docker/docker/api/types/container" -) - -const ( - ContainerCreated = container.StateCreated // StateCreated indicates the container is created, but not (yet) started. - ContainerRunning = container.StateRunning // StateRunning indicates that the container is running. - ContainerPaused = container.StatePaused // StatePaused indicates that the container's current state is paused. - ContainerRestarting = container.StateRestarting // StateRestarting indicates that the container is currently restarting. - ContainerRemoving = container.StateRemoving // StateRemoving indicates that the container is being removed. - ContainerExited = container.StateExited // StateExited indicates that the container exited. - 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. ) var _ io.ReadCloser = ContainerStdout{}