diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-02-26 22:54:22 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-02-26 22:54:22 -0800 |
| commit | db8e27be6ec7daa1a188f90f61e385c04cb6b008 (patch) | |
| tree | 33e53b6ec51157709bc6121adeb8b19fe668c79b /go/storage/compress.go | |
| parent | bd278337db4e3c1937f2d7cd1623ee9627c77619 (diff) | |
| download | seaweedfs-db8e27be6ec7daa1a188f90f61e385c04cb6b008.tar.xz seaweedfs-db8e27be6ec7daa1a188f90f61e385c04cb6b008.zip | |
add lots of error checking by GThomas
Diffstat (limited to 'go/storage/compress.go')
| -rw-r--r-- | go/storage/compress.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/storage/compress.go b/go/storage/compress.go index 256789c9c..e8816422b 100644 --- a/go/storage/compress.go +++ b/go/storage/compress.go @@ -10,7 +10,7 @@ import ( /* * Default more not to gzip since gzip can be done on client side. -*/ + */ func IsGzippable(ext, mtype string) bool { if strings.HasPrefix(mtype, "text/") { return true |
