diff options
author | 2018-10-22 14:21:28 +0000 | |
---|---|---|
committer | 2018-10-22 14:21:28 +0000 | |
commit | c00356ec332203f353fcd5f5992226940d90da92 (patch) | |
tree | f848f4b40300982c913d17eda3feb52b6ef3c697 /adapter/mock | |
parent | 56e997fc27c775790fcce5eda92bb2baee82d881 (diff) | |
parent | 28df7c855784e784fb0e614c1cca0e565a7ef75f (diff) |
Merge "Introduce StatsAPI and it's initial implementation"
Diffstat (limited to 'adapter/mock')
-rw-r--r-- | adapter/mock/mock_adapter.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adapter/mock/mock_adapter.go b/adapter/mock/mock_adapter.go index cdf2081..9783651 100644 --- a/adapter/mock/mock_adapter.go +++ b/adapter/mock/mock_adapter.go @@ -37,7 +37,7 @@ const ( useReplyHandlers // use reply handler ) -// VppAdapter represents a mock VPP adapter that can be used for unit/integration testing instead of the vppapiclient adapter. +// VppAPI represents a mock VPP adapter that can be used for unit/integration testing instead of the vppapiclient adapter. type VppAdapter struct { callback adapter.MsgCallback @@ -107,8 +107,8 @@ func (a *VppAdapter) Connect() error { } // Disconnect emulates disconnecting the process from VPP. -func (a *VppAdapter) Disconnect() { - // no op +func (a *VppAdapter) Disconnect() error { + return nil } // GetMsgNameByID returns message name for specified message ID. |