Skip to content

Commit

Permalink
BAAS-20636: remove method from session interface
Browse files Browse the repository at this point in the history
(cherry picked from commit 0dc52fd)
  • Loading branch information
nickpoindexter authored and dpish committed Jan 23, 2024
1 parent 2fae649 commit cb6d4ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mongo/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit cb6d4ad

Please sign in to comment.