Browse Source

Merge pull request #9105 from stevenburgess/archiveCommentFix

Fix comment to match the arg name
Michael Crosby 10 years ago
parent
commit
3ef2fc7f0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/archive/archive.go

+ 1 - 1
pkg/archive/archive.go

@@ -455,7 +455,7 @@ func TarWithOptions(srcPath string, options *TarOptions) (io.ReadCloser, error)
 }
 }
 
 
 // Untar reads a stream of bytes from `archive`, parses it as a tar archive,
 // Untar reads a stream of bytes from `archive`, parses it as a tar archive,
-// and unpacks it into the directory at `path`.
+// and unpacks it into the directory at `dest`.
 // The archive may be compressed with one of the following algorithms:
 // The archive may be compressed with one of the following algorithms:
 //  identity (uncompressed), gzip, bzip2, xz.
 //  identity (uncompressed), gzip, bzip2, xz.
 // FIXME: specify behavior when target path exists vs. doesn't exist.
 // FIXME: specify behavior when target path exists vs. doesn't exist.