Skip to content
Snippets Groups Projects
Commit 77379c1d authored by Fabian Seidl's avatar Fabian Seidl
Browse files

removed deprecated error, for linter pleasing

parent 1c64becf
Branches
Tags
3 merge requests!376Add additional example application hostname-checker,!343Add basic application framework and example application to show interaction between events an NBI,!342Resolve "Add an option to send gNMI Subscribe requests via SBI"
Pipeline #109984 passed
...@@ -2,6 +2,7 @@ package nucleus ...@@ -2,6 +2,7 @@ package nucleus
import ( import (
"context" "context"
"fmt"
"code.fbi.h-da.de/danet/gosdn/controller/interfaces/device" "code.fbi.h-da.de/danet/gosdn/controller/interfaces/device"
"code.fbi.h-da.de/danet/gosdn/controller/interfaces/networkdomain" "code.fbi.h-da.de/danet/gosdn/controller/interfaces/networkdomain"
...@@ -125,7 +126,7 @@ func (d *DeviceWatcher) handleSubscribeResponse(resp *gpb.SubscribeResponse, sub ...@@ -125,7 +126,7 @@ func (d *DeviceWatcher) handleSubscribeResponse(resp *gpb.SubscribeResponse, sub
PndID: subscriptionInfo.PndID, PndID: subscriptionInfo.PndID,
DeviceID: subscriptionInfo.DeviceID, DeviceID: subscriptionInfo.DeviceID,
DeviceName: subscriptionInfo.DeviceName, DeviceName: subscriptionInfo.DeviceName,
Err: resp.Error.Message, Err: fmt.Sprintf("SubscribeResponse_Error"),
}) })
case *gpb.SubscribeResponse_SyncResponse: case *gpb.SubscribeResponse_SyncResponse:
if !resp.SyncResponse { if !resp.SyncResponse {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment