Skip to content

Commit

Permalink
Fix spelling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Nov 1, 2023
1 parent 4f44ebf commit c025b1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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

0 comments on commit c025b1b

Please sign in to comment.