From 0bac72e4bd71b01b5315ff60b71d8bcb1a96949a Mon Sep 17 00:00:00 2001 From: allencloud Date: Sun, 28 Aug 2016 00:14:17 +0800 Subject: [PATCH] remove running judgement when unpause container Signed-off-by: allencloud --- daemon/unpause.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon/unpause.go b/daemon/unpause.go index c1ab74b0bf..e66b3868dc 100644 --- a/daemon/unpause.go +++ b/daemon/unpause.go @@ -25,11 +25,6 @@ func (daemon *Daemon) containerUnpause(container *container.Container) error { container.Lock() defer container.Unlock() - // We cannot unpause the container which is not running - if !container.Running { - return errNotRunning{container.ID} - } - // We cannot unpause the container which is not paused if !container.Paused { return fmt.Errorf("Container %s is not paused", container.ID)