diff options
author | 2017-11-30 09:08:17 +0100 | |
---|---|---|
committer | 2017-11-30 09:08:17 +0100 | |
commit | acf57209ccbd67fa96644abe5aef65f58264c112 (patch) | |
tree | 59ed1cdcca28f21d4eee9451de031e41c500c710 /adapter/adapter.go | |
parent | 67482a4f8c3a3a7cf17b4edf82e61c28b318ffd9 (diff) |
Removes unnecessary returned func from WaitReady
Change-Id: I34889c8c79fa8ef7a196f8d067edca7f1cb5ad33
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'adapter/adapter.go')
-rw-r--r-- | adapter/adapter.go | 4 |
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 } |