Commit dabdb7ca authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d2bd2693
...@@ -471,7 +471,7 @@ func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit f ...@@ -471,7 +471,7 @@ func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit f
ev := cG.Recv() ev := cG.Recv()
mnode, ok := ev.Event.(*eventNodeTab) mnode, ok := ev.Event.(*eventNodeTab)
if !ok { if !ok {
b.Fatal("after M start: got %T ; want eventNodeTab", ev.Event) b.Fatalf("after M start: got %T ; want eventNodeTab", ev.Event)
} }
Maddr := mnode.NodeInfo.Addr.String() Maddr := mnode.NodeInfo.Addr.String()
......
...@@ -121,7 +121,7 @@ func (t *BTree) Get(ctx context.Context, key KEY) (_ interface{}, _ bool, err er ...@@ -121,7 +121,7 @@ func (t *BTree) Get(ctx context.Context, key KEY) (_ interface{}, _ bool, err er
// Get searches Bucket by key. // Get searches Bucket by key.
func (b *Bucket) Get(ctx context.Context, key KEY) (_ interface{}, _ bool, err error) { func (b *Bucket) Get(ctx context.Context, key KEY) (_ interface{}, _ bool, err error) {
defer xerr.Contextf(&err, "bucket(%s): get %s", b.POid(), key) // XXX + url? defer xerr.Contextf(&err, "bucket(%s): get %v", b.POid(), key) // XXX + url?
err = b.PActivate(ctx) err = b.PActivate(ctx)
if err != nil { if err != nil {
return nil, false, err return nil, false, err
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment