Merge pull request #21841 from WeiZhang555/error-typo

Fix typo
This commit is contained in:
Vincent Demeester 2016-04-07 08:56:43 +02:00
commit d7a04c7416
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.restartManager.Cancel()
ctr.clean() ctr.clean()
} else { } 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 containerID := cont.Id
if _, err := clnt.getContainer(containerID); err == nil { 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() { defer func() {