diff --git a/internal/driverutil/hello.go b/internal/driverutil/hello.go index 356e1d3336..18a70f0cad 100644 --- a/internal/driverutil/hello.go +++ b/internal/driverutil/hello.go @@ -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" ) diff --git a/internal/test/faas/awslambda/mongodb/main.go b/internal/test/faas/awslambda/mongodb/main.go index f9d8765550..5dad20be46 100644 --- a/internal/test/faas/awslambda/mongodb/main.go +++ b/internal/test/faas/awslambda/mongodb/main.go @@ -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 diff --git a/mongo/integration/unified/testrunner_operation.go b/mongo/integration/unified/testrunner_operation.go index 297ebbdf5d..411b312f6c 100644 --- a/mongo/integration/unified/testrunner_operation.go +++ b/mongo/integration/unified/testrunner_operation.go @@ -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 diff --git a/x/mongo/driver/topology/rtt_monitor.go b/x/mongo/driver/topology/rtt_monitor.go index eacc6bf6d3..0934beed89 100644 --- a/x/mongo/driver/topology/rtt_monitor.go +++ b/x/mongo/driver/topology/rtt_monitor.go @@ -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