From 41f5cc69b4834e0f001fcc2a2e9c5a5dfe1c952a Mon Sep 17 00:00:00 2001 From: Aleksey Kosov Date: Tue, 18 Feb 2025 10:49:16 +0300 Subject: [PATCH] Cassandra loss dir (#6559) removed initialization of the local err Co-authored-by: akosov --- weed/filer/cassandra/cassandra_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/cassandra/cassandra_store.go b/weed/filer/cassandra/cassandra_store.go index 6ced58776..418812a47 100644 --- a/weed/filer/cassandra/cassandra_store.go +++ b/weed/filer/cassandra/cassandra_store.go @@ -209,7 +209,7 @@ func (store *CassandraStore) ListDirectoryEntries(ctx context.Context, dirPath u break } } - if err := iter.Close(); err != nil { + if err = iter.Close(); err != nil { glog.V(0).Infof("list iterator close: %v", err) }