Skip to content

Commit da8323c

Browse files
Fix spelling issues (#1451) [master] Fix spelling issues (#1451) (#1453)
Co-authored-by: Preston Vasquez <[email protected]>
1 parent 405a094 commit da8323c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

internal/driverutil/hello.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const (
2828
EnvVarFunctionName = "FUNCTION_NAME"
2929
// EnvVarVercel is the Vercel variable.
3030
EnvVarVercel = "VERCEL"
31-
// EnvVarK8s is the K8s veriable.
31+
// EnvVarK8s is the K8s variable.
3232
EnvVarK8s = "KUBERNETES_SERVICE_HOST"
3333
)
3434

internal/test/faas/awslambda/mongodb/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func handler(ctx context.Context, request events.APIGatewayProxyRequest) (events
162162
// Driver must switch to polling monitoring when running within a FaaS
163163
// environment.
164164
if listener.heartbeatAwaitedCount > 0 {
165-
return gateway500(), fmt.Errorf("FaaS environment fialed to switch to polling")
165+
return gateway500(), fmt.Errorf("FaaS environment failed to switch to polling")
166166
}
167167

168168
var avgCmdDur float64

mongo/integration/unified/testrunner_operation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
// waitForEventTimeout is the amount of time to wait for an event to occur. The
2323
// maximum amount of time expected for this value is currently 10 seconds, which
24-
// is the amoutn of time that the driver will attempt to wait between streamable
24+
// is the amount of time that the driver will attempt to wait between streamable
2525
// heartbeats. Increase this value if a new maximum time is expected in another
2626
// operation.
2727
var waitForEventTimeout = 11 * time.Second

x/mongo/driver/topology/rtt_monitor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type rttMonitor struct {
4242
mu sync.RWMutex // mu guards samples, offset, minRTT, averageRTT, and averageRTTSet
4343

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

0 commit comments

Comments
 (0)