Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 34425, a bug that sys.doc cannot output format #35286

Merged
merged 1 commit into from
Aug 9, 2016

Conversation

hu-dabao
Copy link
Contributor

@hu-dabao hu-dabao commented Aug 9, 2016

What does this PR do?

Fix #34425

What issues does this PR fix or reference?

Previous Behavior

For more details, please check #34425
In short, salt minion1 sys.doc test.ping --out json cannot output as the format configured.

New Behavior

salt minion1 sys.doc test.ping --out json
{
    "test.ping": "\n    Used to make sure the minion is up and responding. Not an ICMP ping.\n\n    Returns ``True``.\n\n    CLI Example:\n\n        salt '*' test.ping\n    "
}
salt minion1 sys.doc test.ping
test.ping:

    Used to make sure the minion is up and responding. Not an ICMP ping.

    Returns ``True``.

    CLI Example:

        salt '*' test.ping

Tests written?

No

Please review Salt's Contributing Guide for best practices.

@cachedout cachedout merged commit 47e328f into saltstack:2016.3 Aug 9, 2016
@cachedout
Copy link
Contributor

Nice one! Thanks, @hu-dabao

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.

None yet

2 participants