pass a string, not an error, to Session.CloseWithError

This commit is contained in:
Marten Seemann
2019-05-12 13:45:40 +09:00
parent 6cdc228ef6
commit 0a86224858
7 changed files with 12 additions and 11 deletions

View File

@@ -83,7 +83,7 @@ func (mr *MockSessionMockRecorder) Close() *gomock.Call {
}
// CloseWithError mocks base method
func (m *MockSession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 error) error {
func (m *MockSession) CloseWithError(arg0 protocol.ApplicationErrorCode, arg1 string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CloseWithError", arg0, arg1)
ret0, _ := ret[0].(error)