Commit c0502d41 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9206bfb6
...@@ -325,7 +325,7 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) { ...@@ -325,7 +325,7 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) {
case nil: case nil:
value := reflect.ValueOf(pvalue).Elem().Interface() value := reflect.ValueOf(pvalue).Elem().Interface()
if value != expect { if value != expect {
err = fmt.Errorf("got %s; want %s", value, expect) err = fmt.Errorf("got %v; want %v", value, expect)
} }
} }
...@@ -370,6 +370,8 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) { ...@@ -370,6 +370,8 @@ func openURL(ctx context.Context, u *url.URL) (_ storage.Backend, err error) {
return nil, fmt.Errorf("NEO/go POC: not ready to handle: !empty ttrans/tobj") return nil, fmt.Errorf("NEO/go POC: not ready to handle: !empty ttrans/tobj")
} }
// TODO lock db by path so other process cannot start working with it
return b, nil return b, nil
} }
......
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