istio.io icon indicating copy to clipboard operation
istio.io copied to clipboard

doc: fix formatting in mirroring task

Open msahihi opened this issue 4 months ago • 8 comments

Description

Corrected improper formatting in bash code snippets within the Creating a default routing policy and Mirroring traffic to httpbin-v2 sections. Previously, copy-pasting these snippets would result in parsing errors like

error: error parsing STDIN: error converting YAML to JSON: yaml: line 6: did not find expected key. 

This prevents users from directly using the provided examples.

Screenshot 2025-05-29 at 19 52 01

This PR ensures the commands are directly usable.

Reviewers

  • [ ] Ambient
  • [x] Docs
  • [ ] Installation
  • [ ] Networking
  • [ ] Performance and Scalability
  • [ ] Extensions and Telemetry
  • [ ] Security
  • [ ] Test and Release
  • [ ] User Experience
  • [ ] Developer Infrastructure
  • [ ] Localization/Translation

msahihi avatar May 29 '25 18:05 msahihi