mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
These types used to be internal to the container package, but were moved to the API in100102108b. However, the `StateStatus` type is only used internally; it's used as an intermediate type because [`container.State`] contains a sync.Mutex field which would make copying it unsafe (see [moby@2998945]). This moves the type and re-introduces an internal type in the original location, effectively reverting100102108b[`container.State`]:19e79906cb/container/state.go (L15-L23)[moby@2998945]:2998945a54Signed-off-by: Sebastiaan van Stijn <github@gone.nl>