aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-21 17:10:38 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-21 17:10:38 -0700
commit308102f0233ca019e7b48f97f7fdfc30ee606f54 (patch)
tree8471463ec93778445886ec8ce556f74e703ab03f
parentfe4eb6bffa8363c5e8405ee96f5b6a1cfec93d78 (diff)
downloadseaweedfs-308102f0233ca019e7b48f97f7fdfc30ee606f54.tar.xz
seaweedfs-308102f0233ca019e7b48f97f7fdfc30ee606f54.zip
fix cassandra creation problem
fix https://github.com/chrislusf/seaweedfs/issues/986
-rw-r--r--weed/filer2/cassandra/cassandra_store.go2
1 files changed, 1 insertions, 1 deletions
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{