Skip to content
Snippets Groups Projects

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

1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -70,6 +70,8 @@ func (d *DeviceWatcher) callSubscribe(pndID string, device device.Device, opts *
}
}
// handleSubscribeResponse takes the subscribe response and additional information about the device to distinguish
// from which device a subscribe response was sent including improved error handling
func handleSubscribeResponse(resp *gpb.SubscribeResponse, pndID, deviceID, deviceName string) {
switch resp := resp.Response.(type) {
case *gpb.SubscribeResponse_Error:
Loading