From 86245086435d1bbad8014d971dfc380c30ca65d1 Mon Sep 17 00:00:00 2001 From: Michael Heap Date: Mon, 15 Aug 2022 13:52:19 +0100 Subject: [PATCH] Fix Vale issues --- .github/styles/kong/dictionary.txt | 14 ++++++++++++++ src/gateway/plugin-development/custom-logic.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/styles/kong/dictionary.txt b/.github/styles/kong/dictionary.txt index 994a1e117125..3f8cb7418302 100644 --- a/.github/styles/kong/dictionary.txt +++ b/.github/styles/kong/dictionary.txt @@ -1,3 +1,4 @@ +acl AgeNet Alertmanager allowlist @@ -12,6 +13,7 @@ Bintray Bitnami blockquote blockquotes +body_filter boolean CloudFormation Cognito @@ -22,6 +24,7 @@ cors Curity DAO DAOs +datadog Datadog datagram datagrams @@ -50,6 +53,7 @@ grpc grpcs hardcoded hashicorp +header_filter hostname hostnames http @@ -58,6 +62,7 @@ HTTPie https inbounds ini +init_worker inso instrumentations io @@ -84,9 +89,11 @@ Kuma kumactl kustomization Kustomize +loggly Loggly loopback lua +Lua's Luarocks ngrok npm @@ -126,7 +133,9 @@ PowerShell prepend prepends prepended +preread profiler +prometheus Prometheus Protobuf proxied @@ -138,6 +147,7 @@ reentrant referenceable repo Resty +rockspec routable runtime runtimes @@ -150,6 +160,7 @@ serverless snis Splunk ssl +ssl_certificate sso Stap stapxx @@ -163,8 +174,10 @@ Bagdi subcommand substring sudo +syslog Syslog tbl +tcp tcpdump teardown tfvars @@ -204,5 +217,6 @@ worker-ip workspace yaml yml +zipkin Zipkin zsh diff --git a/src/gateway/plugin-development/custom-logic.md b/src/gateway/plugin-development/custom-logic.md index edb9759f5287..ffb0df54a619 100644 --- a/src/gateway/plugin-development/custom-logic.md +++ b/src/gateway/plugin-development/custom-logic.md @@ -164,7 +164,7 @@ return CustomHandler ``` Note that in the example above we are using Lua's `:` shorthand syntax for -functions taking `self` as a first parameter. An equivalent unshortened version +functions taking `self` as a first parameter. An equivalent non-shorthand version of the `access` function would be: ``` lua