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
Merge requests
!342
Resolve "Add an option to send gNMI Subscribe requests via SBI"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add an option to send gNMI Subscribe requests via SBI"
227-add-an-option-to-send-gnmi-subscribe-requests-via-sbi
into
develop
Overview
17
Commits
52
Pipelines
52
Changes
1
Merged
Ghost User
requested to merge
227-add-an-option-to-send-gnmi-subscribe-requests-via-sbi
into
develop
2 years ago
Overview
17
Commits
52
Pipelines
52
Changes
1
Expand
Description
#227 (closed)
Edited
2 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
49c0210c
Prev
Next
Show latest version
1 file
+
1
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
49c0210c
removed possibly unneccessary device copy
· 49c0210c
Fabian Seidl
authored
2 years ago
controller/nucleus/principalNetworkDomain.go
+
1
−
9
Options
@@ -278,15 +278,7 @@ func (pnd *pndImplementation) GetDevice(identifier string) (device.Device, error
return
nil
,
err
}
// TODO: We should investigate why we copy the device here.
copiedDevice
:=
&
CommonDevice
{
name
:
d
.
Name
(),
UUID
:
d
.
ID
(),
Model
:
d
.
GetModel
(),
sbi
:
d
.
SBI
(),
}
return
copiedDevice
,
nil
return
d
,
nil
}
// RemoveDevice removes a device from the PND
Loading