Skip to content

Commit

Permalink
Fix spelling issues (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez authored Nov 2, 2023
1 parent 4f44ebf commit 373cda3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/driverutil/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
EnvVarFunctionName = "FUNCTION_NAME"
// EnvVarVercel is the Vercel variable.
EnvVarVercel = "VERCEL"
// EnvVarK8s is the K8s veriable.
// EnvVarK8s is the K8s variable.
EnvVarK8s = "KUBERNETES_SERVICE_HOST"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/test/faas/awslambda/mongodb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func handler(ctx context.Context, request events.APIGatewayProxyRequest) (events
// Driver must switch to polling monitoring when running within a FaaS
// environment.
if listener.heartbeatAwaitedCount > 0 {
return gateway500(), fmt.Errorf("FaaS environment fialed to switch to polling")
return gateway500(), fmt.Errorf("FaaS environment failed to switch to polling")
}

var avgCmdDur float64
Expand Down
2 changes: 1 addition & 1 deletion mongo/integration/unified/testrunner_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

// waitForEventTimeout is the amount of time to wait for an event to occur. The
// maximum amount of time expected for this value is currently 10 seconds, which
// is the amoutn of time that the driver will attempt to wait between streamable
// is the amount of time that the driver will attempt to wait between streamable
// heartbeats. Increase this value if a new maximum time is expected in another
// operation.
var waitForEventTimeout = 11 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion x/mongo/driver/topology/rtt_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type rttMonitor struct {
mu sync.RWMutex // mu guards samples, offset, minRTT, averageRTT, and averageRTTSet

// connMu guards connecting and disconnecting. This is necessary since
// disconnecting will await the cancelation of a started connection. The
// disconnecting will await the cancellation of a started connection. The
// use case for rttMonitor.connect needs to be goroutine safe.
connMu sync.Mutex
samples []time.Duration
Expand Down

0 comments on commit 373cda3

Please sign in to comment.