Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
go-kit
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
effectivex
go-kit
Commits
9aacf37a
Commit
9aacf37a
authored
11 months ago
by
deploy
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'remotes/origin/14.0.x/release' into 15.0.x/release
parents
2e18bd09
821ee4b8
No related branches found
Branches containing commit
Tags
v15.0.4
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
redis/client.go
+7
-0
7 additions, 0 deletions
redis/client.go
with
7 additions
and
0 deletions
redis/client.go
+
7
−
0
View file @
9aacf37a
...
...
@@ -105,6 +105,13 @@ func (a *Client) Get(ctx context.Context, key string) (interface{}, error) {
defer
span
.
End
()
value
,
err
:=
a
.
GetRaw
(
spanCtx
,
key
)
if
err
!=
nil
{
return
nil
,
err
}
if
value
==
nil
{
return
nil
,
nil
}
var
data
interface
{}
err
=
json
.
Unmarshal
(
value
,
&
data
)
...
...
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