mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api/types: move ContainerState to api/types/image
This moves the `ContainerState` type to the container package, renames it to `State`, and deprecates the old location. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -146,7 +146,7 @@ func (daemon *Daemon) getInspectData(daemonCfg *config.Config, container *contai
|
||||
}
|
||||
}
|
||||
|
||||
containerState := &types.ContainerState{
|
||||
containerState := &containertypes.State{
|
||||
Status: container.State.StateString(),
|
||||
Running: container.State.Running,
|
||||
Paused: container.State.Paused,
|
||||
|
||||
Reference in New Issue
Block a user