Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
tools
wig
Commits
9ecab355
Commit
9ecab355
authored
8 months ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Pass a pointer to json unmarshal
parent
19e13d84
No related branches found
No related tags found
No related merge requests found
Pipeline
#77086
passed
8 months ago
Stage: test
Stage: build
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore/crud/client.go
+1
-1
1 addition, 1 deletion
datastore/crud/client.go
with
1 addition
and
1 deletion
datastore/crud/client.go
+
1
−
1
View file @
9ecab355
...
@@ -54,7 +54,7 @@ func (c *typeClient) Find(ctx context.Context, _ string, query map[string]string
...
@@ -54,7 +54,7 @@ func (c *typeClient) Find(ctx context.Context, _ string, query map[string]string
l
:=
reflect
.
MakeSlice
(
l
:=
reflect
.
MakeSlice
(
reflect
.
SliceOf
(
reflect
.
TypeOf
(
c
.
t
.
NewInstance
())),
0
,
4
)
reflect
.
SliceOf
(
reflect
.
TypeOf
(
c
.
t
.
NewInstance
())),
0
,
4
)
if
err
:=
httptransport
.
Do
(
ctx
,
c
.
client
,
"GET"
,
c
.
verbURL
(
"find"
)
+
"?"
+
values
.
Encode
(),
nil
,
l
.
Interface
());
err
!=
nil
{
if
err
:=
httptransport
.
Do
(
ctx
,
c
.
client
,
"GET"
,
c
.
verbURL
(
"find"
)
+
"?"
+
values
.
Encode
(),
nil
,
l
.
Addr
()
.
Interface
());
err
!=
nil
{
return
err
return
err
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment