diff --git a/daemon/container.go b/daemon/container.go index d68517c22412c..ad6d35225e026 100644 --- a/daemon/container.go +++ b/daemon/container.go @@ -68,14 +68,6 @@ func (daemon *Daemon) GetContainer(prefixOrName string) (*container.Container, e return ctr, nil } -// IsPaused returns a bool indicating if the specified container is paused. -// -// Deprecated: use [Daemon.GetContainer] to look up a container by ID, Name, or ID-prefix, and use [container.State.IsPaused]. This function will be removed in the next release. -func (daemon *Daemon) IsPaused(id string) bool { - c, _ := daemon.GetContainer(id) - return c.State.IsPaused() -} - func (daemon *Daemon) containerRoot(id string) string { return filepath.Join(daemon.repository, id) }