From fa0c8d528370ee419cf4ed64213b1b4cdf014fac Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 19 Jan 2021 14:05:48 -0800 Subject: [PATCH] fix error --- weed/filer/abstract_sql/abstract_sql_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/abstract_sql/abstract_sql_store.go b/weed/filer/abstract_sql/abstract_sql_store.go index dd35112a2..878386cf7 100644 --- a/weed/filer/abstract_sql/abstract_sql_store.go +++ b/weed/filer/abstract_sql/abstract_sql_store.go @@ -74,7 +74,7 @@ func (store *AbstractSqlStore) getTxOrDB(ctx context.Context, fullpath util.Full txOrDB = store.DB } - if strings.HasPrefix(string(fullpath), "/buckets/") { + if !strings.HasPrefix(string(fullpath), "/buckets/") { return }