aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/compress.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-02-09 12:52:12 -0800
committerChris Lu <chris.lu@gmail.com>2019-02-09 12:52:12 -0800
commit729d71fd4cf07709331ba05dd075c54e2effabe9 (patch)
tree89eb216db67c6c5743ebfa3cddb62a7461dc5634 /weed/operation/compress.go
parent8afc63248449ee681dc964e07ab687a0f4cb8a9b (diff)
parent820bb05182fded5606a5e4aef8fa3396bc854451 (diff)
downloadseaweedfs-729d71fd4cf07709331ba05dd075c54e2effabe9.tar.xz
seaweedfs-729d71fd4cf07709331ba05dd075c54e2effabe9.zip
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/operation/compress.go')
-rw-r--r--weed/operation/compress.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/compress.go b/weed/operation/compress.go
index 65979d529..fedc877dd 100644
--- a/weed/operation/compress.go
+++ b/weed/operation/compress.go
@@ -30,7 +30,7 @@ func IsGzippable(ext, mtype string, data []byte) bool {
return false
}
- // by file name extention
+ // by file name extension
switch ext {
case ".zip", ".rar", ".gz", ".bz2", ".xz":
return false