Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
danet
goSDN
Commits
44186b36
Commit
44186b36
authored
3 years ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Some paths of a device cant be requested more than once"
parent
c0b8b690
No related branches found
No related tags found
7 merge requests
!246
Develop
,
!245
Develop into Master
,
!244
Master into develop2 into master
,
!219
Draft: Testing
,
!214
Test pipelines
,
!210
Resolve "Some paths of a device cant be requested more than once"
,
!138
Develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nucleus/southbound.go
+4
-1
4 additions, 1 deletion
nucleus/southbound.go
with
4 additions
and
1 deletion
nucleus/southbound.go
+
4
−
1
View file @
44186b36
...
@@ -114,7 +114,10 @@ func unmarshal(schema *ytypes.Schema, bytes []byte, fields []string, goStruct yg
...
@@ -114,7 +114,10 @@ func unmarshal(schema *ytypes.Schema, bytes []byte, fields []string, goStruct yg
return
err
return
err
}
}
ygot
.
PruneEmptyBranches
(
validatedDeepCopy
)
ygot
.
PruneEmptyBranches
(
validatedDeepCopy
)
return
ygot
.
MergeStructInto
(
goStruct
,
validatedDeepCopy
)
opts
:=
[]
ygot
.
MergeOpt
{
&
ygot
.
MergeOverwriteExistingFields
{}}
return
ygot
.
MergeStructInto
(
goStruct
,
validatedDeepCopy
,
opts
...
)
}
}
// getField traverses the GoStruct and returns the field that represents the
// getField traverses the GoStruct and returns the field that represents the
...
...
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