8000 Send show_jid output to stderr by tacerus · Pull Request #67955 · saltstack/salt · GitHub
[go: up one dir, main page]

Skip to content

Send show_jid output to stderr #67955

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/25154.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Send show_jid output to stderr
6 changes: 3 additions & 3 deletions salt/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ def get_cli_returns(
print(msg)
print("-" * len(msg) + "\n")
elif show_jid:
print(f"jid: {jid}")
print(f"jid: {jid}", file=sys.stderr)
if timeout is None:
timeout = self.opts["timeout"]
fret = {}
Expand Down Expand Up @@ -1550,7 +1550,7 @@ def get_cli_static_event_returns(
print(msg)
print("-" * len(msg) + "\n")
elif show_jid:
print(f"jid: {jid}")
print(f"jid: {jid}", file=sys.stderr)

if timeout is None:
timeout = self.opts["timeout"]
Expand Down Expand Up @@ -1644,7 +1644,7 @@ def get_cli_event_returns(
print(msg)
print("-" * len(msg) + "\n")
elif show_jid:
print(f"jid: {jid}")
print(f"jid: {jid}", file=sys.stderr)

# lazy load the connected minions
connected_minions = None
Expand Down
Loading
0