Skip to content

Add full_return arg to LocalClient and RunnerClient - #39492

Merged
cachedout merged 4 commits into
saltstack:developfrom
whiteinge:full_return-arg
Mar 4, 2017
Merged

cachedout merged 4 commits into
saltstack:developfrom
whiteinge:full_return-arg

Conversation

@whiteinge

@whiteinge whiteinge commented Feb 18, 2017 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Add (or expose) full_return argument to LocalClient and RunnerClient so the exit code can be visible from salt-api or Salt's Python API if the user opts-in.

What issues does this PR fix or reference?

#39452

New Behavior

No changes to existing interfaces. If the new kwarg is given the the return structure is different.

Tests written?

Yes

@cachedout

Copy link
Copy Markdown
Contributor

@whiteinge This also has a merge conflict, I'm afraid. Could you please rebase it?

@whiteinge

Copy link
Copy Markdown
Contributor Author

Rebased.

@cachedout

Copy link
Copy Markdown
Contributor

I didn't get to this in time. Sorry! One more rebase, please. :]

@whiteinge

Copy link
Copy Markdown
Contributor Author

No worries. Easy fix. :-)

@cachedout

Copy link
Copy Markdown
Contributor

At some point these two kwargs should be wired up to match RunnerClient.
@whiteinge

Copy link
Copy Markdown
Contributor Author

That's an impressive catch by pylint. Kudos.

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.

2 participants