aboutsummaryrefslogtreecommitdiffstats
path: root/adapter/adapter.go
diff options
context:
space:
mode:
Diffstat (limited to 'adapter/adapter.go')
-rw-r--r--adapter/adapter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/adapter/adapter.go b/adapter/adapter.go
index d8f29c9..a5b3352 100644
--- a/adapter/adapter.go
+++ b/adapter/adapter.go
@@ -31,6 +31,6 @@ type VppAdapter interface {
// SetMsgCallback sets a callback function that will be called by the adapter whenever a message comes from VPP.
SetMsgCallback(func(context uint32, msgId uint16, data []byte))
- // WaitReady returns func which waits until adapter is ready.
- WaitReady() func() error
+ // WaitReady waits until adapter is ready.
+ WaitReady() error
}