From 752bf1f6e27ec23e0bf18b8b453643bc8713e7ed Mon Sep 17 00:00:00 2001 From: Mengxin Liu Date: Sat, 4 Jul 2026 11:59:36 +0000 Subject: [PATCH] docs: fix comment syntax in cilium-networkpolicy bash block Replace invalid `//` comment with `#` in the kubectl output bash block, matching the block's own convention and the fix in #411 which missed this line. Signed-off-by: Mengxin Liu Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/advance/cilium-networkpolicy.en.md | 2 +- docs/advance/cilium-networkpolicy.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advance/cilium-networkpolicy.en.md b/docs/advance/cilium-networkpolicy.en.md index 76dc8c2c9..af5a9349c 100644 --- a/docs/advance/cilium-networkpolicy.en.md +++ b/docs/advance/cilium-networkpolicy.en.md @@ -84,7 +84,7 @@ dynamic-7d8d7874f5-6dsg6 1/1 Running 0 7h20m 10.16.0.2 dynamic-7d8d7874f5-tjgtp 1/1 Running 0 7h46m 10.16.0.42 kube-ovn-worker app=dynamic,pod-template-hash=7d8d7874f5 label-test1-77b6764857-swq4k 1/1 Running 0 3h43m 10.16.0.12 kube-ovn-worker app=test1,pod-template-hash=77b6764857 -// As the destination Pod for testing access. +# As the destination Pod for testing access. test-54c98bc466-mft5s 1/1 Running 0 8h 10.16.0.41 kube-ovn-worker app=test,pod-template-hash=54c98bc466 ``` diff --git a/docs/advance/cilium-networkpolicy.md b/docs/advance/cilium-networkpolicy.md index 7f69d728f..e8551bba1 100644 --- a/docs/advance/cilium-networkpolicy.md +++ b/docs/advance/cilium-networkpolicy.md @@ -84,7 +84,7 @@ dynamic-7d8d7874f5-6dsg6 1/1 Running 0 7h20m 10.16.0.2 dynamic-7d8d7874f5-tjgtp 1/1 Running 0 7h46m 10.16.0.42 kube-ovn-worker app=dynamic,pod-template-hash=7d8d7874f5 label-test1-77b6764857-swq4k 1/1 Running 0 3h43m 10.16.0.12 kube-ovn-worker app=test1,pod-template-hash=77b6764857 -// 以下为测试访问目的 Pod +# 以下为测试访问目的 Pod test-54c98bc466-mft5s 1/1 Running 0 8h 10.16.0.41 kube-ovn-worker app=test,pod-template-hash=54c98bc466 ```