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)
(cherry picked from commit b25b6d4)
  • Loading branch information
nickpoindexter authored and wlihui7 committed Jul 1, 2024
1 parent c8cbc32 commit 759f269
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 759f269

Please sign in to comment.