From c45566205a53f2e024e0f050e6f40089f83e0c87 Mon Sep 17 00:00:00 2001 From: sh2 Date: Thu, 31 Aug 2023 14:34:08 +0800 Subject: [PATCH 1/2] doc: fix incorrect item number in accesslog design doc Signed-off-by: sh2 --- docs/latest/design/accesslog.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/latest/design/accesslog.md b/docs/latest/design/accesslog.md index 62cf8170704..e5a7b3c558c 100644 --- a/docs/latest/design/accesslog.md +++ b/docs/latest/design/accesslog.md @@ -158,7 +158,7 @@ spec: path: /dev/stdout ``` -1. The following is an example with json format access log. +3. The following is an example with json format access log. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/json-accesslog.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 @@ -181,7 +181,7 @@ spec: path: /dev/stdout ``` -1. The following is an example with OpenTelemetry format access log. +4. The following is an example with OpenTelemetry format access log. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/otel-accesslog.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 @@ -206,7 +206,7 @@ spec: k8s.cluster.name: "cluster-1" ``` -1. The following is an example of sending same format to different sinks. +5. The following is an example of sending same format to different sinks. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/multi-sinks.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 From 138b2c320e4022753e785a046814767375135d19 Mon Sep 17 00:00:00 2001 From: sh2 Date: Thu, 31 Aug 2023 17:09:02 +0800 Subject: [PATCH 2/2] change ordered list to unordered list Signed-off-by: sh2 --- docs/latest/design/accesslog.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/latest/design/accesslog.md b/docs/latest/design/accesslog.md index e5a7b3c558c..38eef27ea96 100644 --- a/docs/latest/design/accesslog.md +++ b/docs/latest/design/accesslog.md @@ -122,7 +122,7 @@ type OpenTelemetryEnvoyProxyAccessLog struct { ### Example -1. The following is an example to disable access log. +- The following is an example to disable access log. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/disable-accesslog.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 @@ -136,7 +136,7 @@ spec: disable: true ``` -2. The following is an example with text format access log. +- The following is an example with text format access log. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/text-accesslog.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 @@ -158,7 +158,7 @@ spec: path: /dev/stdout ``` -3. The following is an example with json format access log. +- The following is an example with json format access log. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/json-accesslog.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 @@ -181,7 +181,7 @@ spec: path: /dev/stdout ``` -4. The following is an example with OpenTelemetry format access log. +- The following is an example with OpenTelemetry format access log. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/otel-accesslog.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1 @@ -206,7 +206,7 @@ spec: k8s.cluster.name: "cluster-1" ``` -5. The following is an example of sending same format to different sinks. +- The following is an example of sending same format to different sinks. ```yaml mdox-exec="sed '1,12d' examples/kubernetes/accesslog/multi-sinks.yaml" apiVersion: config.gateway.envoyproxy.io/v1alpha1