Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
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
Show 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 (
...
@@ -26,7 +26,6 @@ import (
"math/rand"
"math/rand"
"net/url"
"net/url"
"os"
"os"
"strconv"
"strings"
"strings"
"sync"
"sync"
...
@@ -539,17 +538,6 @@ func parseURL(ctx context.Context, u *url.URL) (urlinfo *urlInfo, err error) {
...
@@ -539,17 +538,6 @@ func parseURL(ctx context.Context, u *url.URL) (urlinfo *urlInfo, err error) {
return
nil
,
err
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
// pop not yet used client options
// (our neo client doesn't apply their effect yet)
// (our neo client doesn't apply their effect yet)
for
_
,
k
:=
range
[]
string
{
"compress"
,
"cache-size"
,
"logfile"
}
{
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