Skip to content

Fix typo in throttle_decision_endpoints - change 'Tall' to 'all'#10719

Open
Siddiha wants to merge 1 commit intowso2:master-backupfrom
Siddiha:patch-1
Open

Fix typo in throttle_decision_endpoints - change 'Tall' to 'all'#10719
Siddiha wants to merge 1 commit intowso2:master-backupfrom
Siddiha:patch-1

Conversation

@Siddiha
Copy link

@Siddiha Siddiha commented Feb 17, 2026

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Summary by CodeRabbit

  • Documentation
    • Fixed a typo in distributed deployment configuration documentation to ensure correct hostname reference.
    • Improved code snippet formatting and indentation consistency across Linux, Mac, and Windows installation sections for better readability.

@coderabbitai
Copy link

coderabbitai bot commented Feb 17, 2026

Walkthrough

A documentation file was updated with a hostname typo correction ("Tall-in-one-2-host" to "all-in-one-2-host") in the throttle decision endpoints configuration and code block fence formatting adjustments from java to bash across Linux/Mac and Windows deployment sections.

Changes

Cohort / File(s) Summary
Documentation Updates
en/docs/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-simple-scalable-setup.md
Fixed hostname typo in throttle_decision_endpoints configuration and reformatted code block fences from java to bash style for shell-script snippets across deployment instruction sections.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 A typo hops away, "Tall" becomes "all",
Code fences painted bash, standing proud and tall,
Docs shine brighter now, so perfectly neat,
Small fixes compiled, the edit's complete! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description contains only the template placeholders with no actual content filled in. All required sections lack substantive information about the change. Fill in at least the Purpose, Goals, Release note, and Documentation sections with details explaining the typo fix, its impact, and any documentation updates needed.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: fixing a typo in throttle_decision_endpoints by correcting 'Tall' to 'all', which aligns with the actual code change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@en/docs/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-simple-scalable-setup.md`:
- Around line 755-757: The fenced code block using ```bash contains Windows .bat
commands (cd <UNIVERSAL-GW_HOME>\bin\ and gateway.bat --run); update those
fences to a Windows-appropriate label (e.g., ```bat or ```cmd) for both
occurrences (the block with "cd <UNIVERSAL-GW_HOME>\bin\" and "gateway.bat
--run" and the similar block at the later occurrence) so syntax highlighting and
reader expectations match the .bat commands.
- Line 764: Update the heading text that currently reads "Linux/Mac OS" to use
correct capitalization and style by replacing it with "Linux/macOS" (locate the
heading string "Linux/Mac OS" in the document and change it to "Linux/macOS").
- Line 104: Remove the inline "🔥 FIXED: Changed from ..." comment from the TOML
snippet so the throttle_decision_endpoints line contains only the valid TOML
value (i.e., throttle_decision_endpoints = ["tcp://all-in-one-1-host:5672",
"tcp://all-in-one-2-host:5672"]); then move the explanatory note into the
surrounding prose (near the snippet) explaining the corrected host name to avoid
contaminating config examples and breaking strict parsers. Reference the
throttle_decision_endpoints key in the doc when adding the explanatory sentence.

# Traffic Manager configurations
[apim.throttling]
throttle_decision_endpoints = ["tcp://all-in-one-1-host:5672", "tcp://Tall-in-one-2-host:5672"]
throttle_decision_endpoints = ["tcp://all-in-one-1-host:5672", "tcp://all-in-one-2-host:5672"] # 🔥 FIXED: Changed from "Tall-in-one-2-host" to "all-in-one-2-host"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Remove the inline “🔥 FIXED” note from the TOML snippet.

That comment is likely to be copied into real configs and can cause confusion or validation failures in strict parsers. Consider moving the explanation to surrounding prose instead.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@en/docs/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-simple-scalable-setup.md`
at line 104, Remove the inline "🔥 FIXED: Changed from ..." comment from the
TOML snippet so the throttle_decision_endpoints line contains only the valid
TOML value (i.e., throttle_decision_endpoints = ["tcp://all-in-one-1-host:5672",
"tcp://all-in-one-2-host:5672"]); then move the explanatory note into the
surrounding prose (near the snippet) explaining the corrected host name to avoid
contaminating config examples and breaking strict parsers. Reference the
throttle_decision_endpoints key in the doc when adding the explanatory sentence.

Comment on lines +755 to +757
```bash
cd <UNIVERSAL-GW_HOME>\bin\
gateway.bat --run
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Use a Windows-appropriate fence or label for .bat commands.

These blocks are Windows commands but fenced as bash, which is misleading for readers and syntax highlighting. Consider bat, cmd, or powershell fences.

Also applies to: 771-773

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@en/docs/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-simple-scalable-setup.md`
around lines 755 - 757, The fenced code block using ```bash contains Windows
.bat commands (cd <UNIVERSAL-GW_HOME>\bin\ and gateway.bat --run); update those
fences to a Windows-appropriate label (e.g., ```bat or ```cmd) for both
occurrences (the block with "cd <UNIVERSAL-GW_HOME>\bin\" and "gateway.bat
--run" and the similar block at the later occurrence) so syntax highlighting and
reader expectations match the .bat commands.


Open a terminal, navigate to the `<APIM_HOME>/bin` folder, and execute the following command:

=== "Linux/Mac OS"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Use “macOS” capitalization.

Prefer “Linux/macOS” instead of “Linux/Mac OS”.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~764-~764: The operating system from Apple is written “macOS”
Context: ... the following command: === "Linux/Mac OS" ```bash cd <APIM_HOME>...

(MAC_OS)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@en/docs/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-simple-scalable-setup.md`
at line 764, Update the heading text that currently reads "Linux/Mac OS" to use
correct capitalization and style by replacing it with "Linux/macOS" (locate the
heading string "Linux/Mac OS" in the document and change it to "Linux/macOS").

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