diff --git a/Makefile b/Makefile index 65544f984..27745ea5c 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,7 @@ check-gen: ## check for updated autogenerated files lint: getdeps ## runs golangci-lint suite of linters @echo "Running $@ check" @$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml + @command typos && typos ./ || echo "typos binary is not found.. skipping.." lint-fix: getdeps ## runs golangci-lint suite of linters with automatic fixes @echo "Running $@ check" diff --git a/cmd/object-lambda-handlers.go b/cmd/object-lambda-handlers.go index d756c70f6..eae0706eb 100644 --- a/cmd/object-lambda-handlers.go +++ b/cmd/object-lambda-handlers.go @@ -199,7 +199,7 @@ func fwdStatusToAPIError(resp *http.Response) *APIError { return nil } -// GetObjectLamdbaHandler - GET Object with transformed data via lambda functions +// GetObjectLambdaHandler - GET Object with transformed data via lambda functions // ---------- // This implementation of the GET operation applies lambda functions and returns the // response generated via the lambda functions. To use this API, you must have READ access diff --git a/internal/config/lambda/target/webhook.go b/internal/config/lambda/target/webhook.go index e15370a78..20149f026 100644 --- a/internal/config/lambda/target/webhook.go +++ b/internal/config/lambda/target/webhook.go @@ -138,7 +138,7 @@ func (target *WebhookTarget) isActive() (bool, error) { return true, nil } -// Stat - returns lamdba webhook target statistics such as +// Stat - returns lambda webhook target statistics such as // current calls in progress, successfully completed functions // failed functions. func (target *WebhookTarget) Stat() event.TargetStat {