Skip to content

Commit

Permalink
Merge branch 'v1' into dependabot/go_modules/github.com/montanaflynn/…
Browse files Browse the repository at this point in the history
…stats-0.7.1
  • Loading branch information
prestonvasquez authored Apr 29, 2024
2 parents 20fd0e0 + 925db11 commit e5f7cea
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion etc/compile_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function version {
echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }';
}

# compile_check will attempt to build the the internal/test/compilecheck project
# compile_check will attempt to build the internal/test/compilecheck project
# using the provided Go version. This is to simulate an end-to-end use case.
# This check will only run on environments where the Go version is greater than
# or equal to the given version.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require (
github.com/xdg-go/scram v1.1.2
github.com/xdg-go/stringprep v1.0.4
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d
golang.org/x/crypto v0.17.0
golang.org/x/crypto v0.22.0
golang.org/x/sync v0.1.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7Jul
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
Expand Down
2 changes: 1 addition & 1 deletion mongo/options/mongooptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const (
// UpdateLookup includes a delta describing the changes to the document and a copy of the entire document that
// was changed.
UpdateLookup FullDocument = "updateLookup"
// WhenAvailable includes a post-image of the the modified document for replace and update change events
// WhenAvailable includes a post-image of the modified document for replace and update change events
// if the post-image for this event is available.
WhenAvailable FullDocument = "whenAvailable"
)
Expand Down
2 changes: 1 addition & 1 deletion mongo/writeconcern/writeconcern.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var ErrNegativeWTimeout = errors.New("write concern `wtimeout` field cannot be n
type WriteConcern struct {
// W requests acknowledgment that the write operation has propagated to a
// specified number of mongod instances or to mongod instances with
// specified tags. It sets the the "w" option in a MongoDB write concern.
// specified tags. It sets the "w" option in a MongoDB write concern.
//
// W values must be a string or an int.
//
Expand Down
13 changes: 7 additions & 6 deletions vendor/golang.org/x/crypto/ocsp/ocsp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ github.com/xdg-go/stringprep
# github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d
## explicit
github.com/youmark/pkcs8
# golang.org/x/crypto v0.17.0
# golang.org/x/crypto v0.22.0
## explicit; go 1.18
golang.org/x/crypto/ocsp
golang.org/x/crypto/pbkdf2
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/auth/speculative_x509_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func createSpeculativeX509Handshake() []bsoncore.Document {
return []bsoncore.Document{hello}
}

// createSpeculativeX509Handshake creates the server replies for a handshake + X509 authentication attempt.
// createRegularX509Handshake creates the server replies for a handshake + X509 authentication attempt.
// There are two replies:
//
// 1. hello reply
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func (op Operation) Execute(ctx context.Context) error {
}
}()
for {
// If we're starting a retry and the the error from the previous try was
// If we're starting a retry and the error from the previous try was
// a context canceled or deadline exceeded error, stop retrying and
// return that error.
if errors.Is(prevErr, context.Canceled) || errors.Is(prevErr, context.DeadlineExceeded) {
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/operation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestOperation(t *testing.T) {
_, err := op.selectServer(context.Background(), 1, nil)
noerr(t, err)

// Assert the the selector is an operation selector wrapper.
// Assert the selector is an operation selector wrapper.
oss, ok := d.params.selector.(*opServerSelector)
require.True(t, ok)

Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/topology/polling_srv_records_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func TestPollingSRVRecordsLoadBalanced(t *testing.T) {

func TestPollSRVRecordsMaxHosts(t *testing.T) {
// simulateSRVPoll creates a topology with srvMaxHosts, mocks the DNS changes described by
// recordsToAdd and recordsToRemove, and returns the the topology.
// recordsToAdd and recordsToRemove, and returns the topology.
simulateSRVPoll := func(srvMaxHosts int, recordsToAdd []*net.SRV, recordsToRemove []*net.SRV) (*Topology, func(ctx context.Context) error) {
t.Helper()

Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/wiremessage/wiremessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func ReadReplyCursorID(src []byte) (cursorID int64, rem []byte, ok bool) {
return readi64(src)
}

// ReadReplyStartingFrom reads the starting from from src.
// ReadReplyStartingFrom reads the starting from src.
func ReadReplyStartingFrom(src []byte) (startingFrom int32, rem []byte, ok bool) {
return readi32(src)
}
Expand Down

0 comments on commit e5f7cea

Please sign in to comment.