summaryrefslogtreecommitdiffstats
path: root/adapter/vppapiclient
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-06-12 22:18:47 +0200
committerOndrej Fabry <ofabry@cisco.com>2018-06-12 22:18:47 +0200
commite44d8c3905e22f940a100e6331a45412cba9d47e (patch)
tree928efbf77af8210c006a8c4951787daab4c14548 /adapter/vppapiclient
parent061e24913927c85cac21c79b206f409592a0f6a9 (diff)
Fix empty adapter
Change-Id: I4472aeb5f8ceb682c8520723ae094fc1cd306b3d Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'adapter/vppapiclient')
-rw-r--r--adapter/vppapiclient/empty_adapter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/adapter/vppapiclient/empty_adapter.go b/adapter/vppapiclient/empty_adapter.go
index 7249864..c3010a0 100644
--- a/adapter/vppapiclient/empty_adapter.go
+++ b/adapter/vppapiclient/empty_adapter.go
@@ -27,7 +27,7 @@ import (
type vppAPIClientAdapter struct{}
-func NewVppAdapter() adapter.VppAdapter {
+func NewVppAdapter(string) adapter.VppAdapter {
return &vppAPIClientAdapter{}
}
@@ -51,6 +51,6 @@ func (a *vppAPIClientAdapter) SetMsgCallback(cb func(context uint32, msgID uint1
// no op
}
-func (a *vppAPIClientAdapter) WaitReady() func() error {
- return func() error { return nil }
+func (a *vppAPIClientAdapter) WaitReady() error {
+ return nil
}