From 8dedfa664d50c3ef0d079f9ca1ab1b7d298e4d55 Mon Sep 17 00:00:00 2001 From: Dmitri Logvinenko Date: Mon, 28 Mar 2016 16:17:21 +0300 Subject: [PATCH] Fix misspellings Signed-off-by: Dmitri Logvinenko --- archive/archive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive/archive.go b/archive/archive.go index 47c5638..cf91225 100644 --- a/archive/archive.go +++ b/archive/archive.go @@ -634,7 +634,7 @@ func TarWithOptions(srcPath string, options *TarOptions) (io.ReadCloser, error) if err := ta.addTarFile(filePath, relFilePath); err != nil { logrus.Errorf("Can't add file %s to tar: %s", filePath, err) - // if pipe is broken, stop writting tar stream to it + // if pipe is broken, stop writing tar stream to it if err == io.ErrClosedPipe { return err }