Skip to content
Snippets Groups Projects

Resolve "Add an option to send gNMI Subscribe requests via SBI"

1 file
+ 1
9
Compare changes
  • Side-by-side
  • Inline
@@ -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