diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-04-28 13:36:53 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-04-28 13:36:53 -0700 |
| commit | a26a37dfa32447309deb1a612d8ff3dd58863b9b (patch) | |
| tree | 8cef594a1c9f8d00f5d6e95131114e3eef99c9d1 /weed | |
| parent | ef94ff6837fe6e5700ec6cc7b5098735752fd9cf (diff) | |
| download | seaweedfs-a26a37dfa32447309deb1a612d8ff3dd58863b9b.tar.xz seaweedfs-a26a37dfa32447309deb1a612d8ff3dd58863b9b.zip | |
fix compilation
fix related to #2032
Diffstat (limited to 'weed')
| -rw-r--r-- | weed/util/compression.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/compression.go b/weed/util/compression.go index 5ba8c4930..8699a8117 100644 --- a/weed/util/compression.go +++ b/weed/util/compression.go @@ -147,7 +147,7 @@ func IsZstdContent(data []byte) bool { if strings.HasSuffix(mtype, "script") { return true, true } - if strings.HasSuffix(mtype, "vnd.rar) { + if strings.HasSuffix(mtype, "vnd.rar") { return false, true } } |
