From cb6d4ad82cf7aff27c615097a2ad8048c3abf766 Mon Sep 17 00:00:00 2001 From: nickpoindexter Date: Wed, 29 Mar 2023 14:34:11 -0500 Subject: [PATCH] BAAS-20636: remove method from session interface (cherry picked from commit 0dc52fd013a86dadb27125cb95ac133aaab297ea) --- mongo/session.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mongo/session.go b/mongo/session.go index 8f1e029b95..97d17736af 100644 --- a/mongo/session.go +++ b/mongo/session.go @@ -136,8 +136,6 @@ type Session interface { // AdvanceOperationTime advances the operation time for a session. This method returns an error // if the session has ended. AdvanceOperationTime(*primitive.Timestamp) error - - session() } // XSession is an unstable interface for internal use only. @@ -373,10 +371,6 @@ func (s *sessionImpl) Client() *Client { return s.client } -// session implements the Session interface. -func (*sessionImpl) session() { -} - // sessionFromContext checks for a sessionImpl in the argued context and returns the session if it // exists func sessionFromContext(ctx context.Context) *session.Client {