From 1442ba988a4fc152d875470dc130d6b09571c206 Mon Sep 17 00:00:00 2001 From: asifdxtreme Date: Tue, 15 Aug 2017 10:15:01 +0800 Subject: [PATCH] Fix Typo to improve GoReport Signed-off-by: asifdxtreme --- libkpod/diff.go | 2 +- server/container_create.go | 2 +- server/image_pull.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libkpod/diff.go b/libkpod/diff.go index cbc2f6f6..83a00b2b 100644 --- a/libkpod/diff.go +++ b/libkpod/diff.go @@ -7,7 +7,7 @@ import ( "github.com/pkg/errors" ) -// GetDiff returns the differences betwen the two images, layers, or containers +// GetDiff returns the differences between the two images, layers, or containers func (c *ContainerServer) GetDiff(from, to string) ([]archive.Change, error) { toLayer, err := c.getLayerID(to) if err != nil { diff --git a/server/container_create.go b/server/container_create.go index 9e49d718..9e1d935c 100644 --- a/server/container_create.go +++ b/server/container_create.go @@ -250,7 +250,7 @@ func ensureSaneLogPath(logPath string) error { // symlink and we need to remove it. fi, err := os.Lstat(logPath) if err != nil || fi.Mode()&os.ModeSymlink == 0 { - // Non-existant files and non-symlinks aren't our problem. + // Non-existent files and non-symlinks aren't our problem. return nil } diff --git a/server/image_pull.go b/server/image_pull.go index a1d2af51..77d57494 100644 --- a/server/image_pull.go +++ b/server/image_pull.go @@ -49,7 +49,7 @@ func (s *Server) PullImage(ctx context.Context, req *pb.PullImageRequest) (*pb.P options := ©.Options{ SourceCtx: &types.SystemContext{}, } - // Specifiying a username indicates the user intends to send authentication to the registry. + // Specifying a username indicates the user intends to send authentication to the registry. if username != "" { options.SourceCtx = &types.SystemContext{ DockerAuthConfig: &types.DockerAuthConfig{