Browse Source

fix cassandra creation problem

fix https://github.com/chrislusf/seaweedfs/issues/986
pull/991/head
Chris Lu 6 years ago
parent
commit
308102f023
  1. 2
      weed/filer2/cassandra/cassandra_store.go

2
weed/filer2/cassandra/cassandra_store.go

@ -85,7 +85,7 @@ func (store *CassandraStore) FindEntry(ctx context.Context, fullpath filer2.Full
} }
if len(data) == 0 { if len(data) == 0 {
return nil, fmt.Errorf("not found: %s", fullpath)
return nil, filer2.ErrNotFound
} }
entry = &filer2.Entry{ entry = &filer2.Entry{

Loading…
Cancel
Save