From a26a37dfa32447309deb1a612d8ff3dd58863b9b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 28 Apr 2021 13:36:53 -0700 Subject: [PATCH] fix compilation fix related to #2032 --- weed/util/compression.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }