Func ldap.Conn.Close() now returns an error

- https://github.com/go-ldap/ldap/compare/v3.4.4...v3.4.5
This commit is contained in:
Joshua Casey
2023-07-06 16:48:25 -07:00
parent dbbaf9b969
commit 67cd5e70c2
2 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -53,9 +53,10 @@ func (mr *MockConnMockRecorder) Bind(arg0, arg1 interface{}) *gomock.Call {
}
// Close mocks base method.
func (m *MockConn) Close() {
func (m *MockConn) Close() error {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Close")
return nil
}
// Close indicates an expected call of Close.