Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: jiefenghuang <[email protected]>
  • Loading branch information
jiefenghuang committed Dec 11, 2024
1 parent 9c79f07 commit 63c3325
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/meta/tkv_fdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package meta

import (
"context"
"fmt"
"net/url"

Expand Down Expand Up @@ -60,7 +61,11 @@ func (c *fdbClient) name() string {
return "fdb"
}

func (c *fdbClient) txn(f func(*kvTxn) error, retry int) error {
func (c *fdbClient) config(key string) interface{} {
return nil
}

func (c *fdbClient) txn(ctx context.Context, f func(*kvTxn) error, retry int) error {
_, err := c.client.Transact(func(t fdb.Transaction) (interface{}, error) {
e := f(&kvTxn{&fdbTxn{t}, retry})
return nil, e
Expand Down

0 comments on commit 63c3325

Please sign in to comment.