1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-04 08:06:53 +02:00

fix cassandra creation problem

fix https://github.com/chrislusf/seaweedfs/issues/986
This commit is contained in:
Chris Lu 2019-06-21 17:10:38 -07:00
parent fe4eb6bffa
commit 308102f023

View file

@ -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{