jobs.lookup_jid is too verbose if cmd.script was used - filtering options please? #67266
Replies: 3 comments
-
So instead something like this... where only stdout is shown?
I actually don't know maybe using a different out-putter can achieve this but otherwise it would be a feature request. But, I'll ping @saltstack/team-core in case there already is something built in to achieve this. :) |
Beta Was this translation helpful? Give feedback.
-
Yes that exactly, or some means to filter like maybe;
That would allow a bit more granular control as some folks might want something other than stdout, or more than just stdout but not everything.... |
Beta Was this translation helpful? Give feedback.
-
Discussed with team-core 1/24/2020 at this time the core team will keep this in the backlog as lower priority and the community is welcome to submit a PR or use as suggested ^^ to use a filter. |
Beta Was this translation helpful? Give feedback.
-
Calling the output when using CLI will always produce stuff that we don't really care to see at the point in time (pid, retcode, stderr);
Could a way to filter this output be added to jobs.lookup_jid?
Beta Was this translation helpful? Give feedback.
All reactions