From 32e6aa742ba732a89610ff1021b4fceda1aa493a Mon Sep 17 00:00:00 2001 From: Claudia Beresford Date: Wed, 5 Sep 2018 14:44:44 +0100 Subject: [PATCH] Fix teeny tiny typos Signed-off-by: Claudia Beresford --- runtime/v1/linux/runtime.go | 2 +- sys/socket_unix.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/v1/linux/runtime.go b/runtime/v1/linux/runtime.go index 16305f0d6..24322f07e 100644 --- a/runtime/v1/linux/runtime.go +++ b/runtime/v1/linux/runtime.go @@ -204,7 +204,7 @@ func (r *Runtime) Create(ctx context.Context, id string, opts runtime.CreateOpts log.G(ctx).WithError(err).WithFields(logrus.Fields{ "id": id, "namespace": namespace, - }).Warn("failed to clen up after killed shim") + }).Warn("failed to clean up after killed shim") } } shimopt = ShimRemote(r.config, r.address, cgroup, exitHandler) diff --git a/sys/socket_unix.go b/sys/socket_unix.go index 0dbca0e33..90fa55c48 100644 --- a/sys/socket_unix.go +++ b/sys/socket_unix.go @@ -42,7 +42,7 @@ func CreateUnixSocket(path string) (net.Listener, error) { return net.Listen("unix", path) } -// GetLocalListener returns a listerner out of a unix socket. +// GetLocalListener returns a listener out of a unix socket. func GetLocalListener(path string, uid, gid int) (net.Listener, error) { // Ensure parent directory is created if err := mkdirAs(filepath.Dir(path), uid, gid); err != nil {