mirror of https://github.com/docker/docs.git
Fix check
This commit is contained in:
parent
187e214dc7
commit
7f735990d7
|
@ -398,7 +398,7 @@ var ContainerStore = assign(Object.create(EventEmitter.prototype), {
|
|||
return;
|
||||
}
|
||||
var container = docker.client().getContainer(name);
|
||||
if (_containers[name].State.Paused) {
|
||||
if (_containers[name] && _containers[name].State.Paused) {
|
||||
container.unpause(function (err) {
|
||||
if (err) {
|
||||
callback(err);
|
||||
|
|
Loading…
Reference in New Issue