From 308102f0233ca019e7b48f97f7fdfc30ee606f54 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 21 Jun 2019 17:10:38 -0700 Subject: [PATCH] fix cassandra creation problem fix https://github.com/chrislusf/seaweedfs/issues/986 --- weed/filer2/cassandra/cassandra_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer2/cassandra/cassandra_store.go b/weed/filer2/cassandra/cassandra_store.go index 627de3055..466be5bf3 100644 --- a/weed/filer2/cassandra/cassandra_store.go +++ b/weed/filer2/cassandra/cassandra_store.go @@ -85,7 +85,7 @@ func (store *CassandraStore) FindEntry(ctx context.Context, fullpath filer2.Full } if len(data) == 0 { - return nil, fmt.Errorf("not found: %s", fullpath) + return nil, filer2.ErrNotFound } entry = &filer2.Entry{