mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-30 22:31:06 +02:00
fix error
This commit is contained in:
parent
4c5b752b04
commit
fa0c8d5283
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue