Skip to content

docs: fix comment syntax in cilium-networkpolicy bash block#412

Merged
oilbeater merged 1 commit into
masterfrom
worktree-fix-cilium-comment-syntax
Jul 4, 2026
Merged

docs: fix comment syntax in cilium-networkpolicy bash block#412
oilbeater merged 1 commit into
masterfrom
worktree-fix-cilium-comment-syntax

Conversation

@oilbeater

Copy link
Copy Markdown
Contributor

Follow-up to #411, which fixed invalid // comments in YAML/JSON code blocks but missed one line in the same file.

docs/advance/cilium-networkpolicy.{md,en.md} line 87 uses // as a comment inside a ```bash block showing kubectl get pod output. The rest of that block already uses `#` for comments (e.g. `# kubectl get pod -o wide ...`), so this line is inconsistent and technically an invalid shell comment. This PR changes `//` → `#` in both the Chinese and English versions.

🤖 Generated with Claude Code

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 <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oilbeater oilbeater marked this pull request as ready for review July 4, 2026 12:07
@oilbeater oilbeater merged commit 2294c4f into master Jul 4, 2026
1 check passed
@oilbeater oilbeater deleted the worktree-fix-cilium-comment-syntax branch July 4, 2026 12:07
oilbeater added a commit that referenced this pull request Jul 4, 2026
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 <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
(cherry picked from commit 2294c4f)
oilbeater added a commit that referenced this pull request Jul 4, 2026
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 <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
(cherry picked from commit 2294c4f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant