1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2016-04-07 12:46:55 +08:00
parent da0985fd16
commit 5fdbce3185
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ func (clnt *client) Create(containerID string, spec Spec, options ...CreateOptio
ctr.restartManager.Cancel()
ctr.clean()
} else {
return fmt.Errorf("Container %s is aleady active", containerID)
return fmt.Errorf("Container %s is already active", containerID)
}
}

View file

@ -17,7 +17,7 @@ func (clnt *client) restore(cont *containerd.Container, options ...CreateOption)
containerID := cont.Id
if _, err := clnt.getContainer(containerID); err == nil {
return fmt.Errorf("container %s is aleady active", containerID)
return fmt.Errorf("container %s is already active", containerID)
}
defer func() {