Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tools
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Golang Libraries
tools
Commits
12024944
Commit
12024944
authored
8 months ago
by
Svyatoslav Sabadin
Browse files
Options
Downloads
Plain Diff
Merge branch '
PD-4920
' into 'master'
fix:
PD-4920
:fix name See merge request
!151
parents
92b02b1a
7176702f
No related branches found
Branches containing commit
Tags
v1.24.108
Tags containing commit
1 merge request
!151
fix:PD-4920:fix name
Pipeline
#30869
passed with stages
Stage: .pre
Stage: test
Stage: coverage
in 1 minute and 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synchronizer/transport/synchronizer.go
+6
-6
6 additions, 6 deletions
synchronizer/transport/synchronizer.go
with
6 additions
and
6 deletions
synchronizer/transport/synchronizer.go
+
6
−
6
View file @
12024944
...
...
@@ -44,13 +44,13 @@ func (r Request) MarshalJSON() ([]byte, error) {
}
res
,
err
:=
json
.
Marshal
(
&
struct
{
Value
interface
{}
Epoch
int64
BytesFields
[]
string
Value
interface
{}
Epoch
int64
Bytes
Type
Fields
[]
string
}{
Value
:
r
.
Value
,
Epoch
:
r
.
Epoch
,
BytesFields
:
r
.
BytesTypeFields
,
Value
:
r
.
Value
,
Epoch
:
r
.
Epoch
,
Bytes
Type
Fields
:
r
.
BytesTypeFields
,
})
if
err
!=
nil
{
return
res
,
errors
.
WithMessage
(
err
,
"transport Request MarshalJSON Marshal failed"
)
...
...
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