Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
f1a1bb9d
Commit
f1a1bb9d
authored
Jan 29, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! client.go: Fix URI client option parsing for supported + unsupported options
readonly is handled by common zodb.OpenDriver.
parent
d6c33660
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
go/neo/client.go
go/neo/client.go
+0
-12
No files found.
go/neo/client.go
View file @
f1a1bb9d
...
...
@@ -26,7 +26,6 @@ import (
"math/rand"
"net/url"
"os"
"strconv"
"strings"
"sync"
...
...
@@ -539,17 +538,6 @@ func parseURL(ctx context.Context, u *url.URL) (urlinfo *urlInfo, err error) {
return
nil
,
err
}
// mv readonly from URL => driver opts
readOnly
,
ok
:=
q
[
"read-only"
]
if
ok
{
delete
(
q
,
"read-only"
)
r
,
err
:=
strconv
.
ParseBool
(
readOnly
)
if
err
!=
nil
{
return
nil
,
err
}
opt
.
ReadOnly
=
r
}
// pop not yet used client options
// (our neo client doesn't apply their effect yet)
for
_
,
k
:=
range
[]
string
{
"compress"
,
"cache-size"
,
"logfile"
}
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment