1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-30 22:31:06 +02:00

fix error

This commit is contained in:
Chris Lu 2021-01-19 14:05:48 -08:00
parent 4c5b752b04
commit fa0c8d5283

View file

@ -74,7 +74,7 @@ func (store *AbstractSqlStore) getTxOrDB(ctx context.Context, fullpath util.Full
txOrDB = store.DB
}
if strings.HasPrefix(string(fullpath), "/buckets/") {
if !strings.HasPrefix(string(fullpath), "/buckets/") {
return
}