Merge pull request #3463 from dzzg/patch-2

fix wrong spells in compression.go
This commit is contained in:
Michael Crosby 2019-07-29 13:50:36 -04:00 committed by GitHub
commit d099058086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@ func DecompressStream(archive io.Reader) (DecompressReadCloser, error) {
} }
} }
// CompressStream compresseses the dest with specified compression algorithm. // CompressStream compresses the dest with specified compression algorithm.
func CompressStream(dest io.Writer, compression Compression) (io.WriteCloser, error) { func CompressStream(dest io.Writer, compression Compression) (io.WriteCloser, error) {
switch compression { switch compression {
case Uncompressed: case Uncompressed: