diff --git a/libcontainerd/client_linux.go b/libcontainerd/client_linux.go index a6c70e3e7d..6bed5dc74d 100644 --- a/libcontainerd/client_linux.go +++ b/libcontainerd/client_linux.go @@ -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) } } diff --git a/libcontainerd/client_liverestore_linux.go b/libcontainerd/client_liverestore_linux.go index b190550838..2d6c2b257f 100644 --- a/libcontainerd/client_liverestore_linux.go +++ b/libcontainerd/client_liverestore_linux.go @@ -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() {