fix wrong spells in compression.go

Signed-off-by: zhengguang zhu <zhengguang.zhu@daocloud.io>
This commit is contained in:
dzzg 2019-07-27 13:37:58 +08:00 committed by zhengguang zhu
parent eabb536b1f
commit 612628c2f9

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: