aboutsummaryrefslogtreecommitdiffstats
path: root/requirements.txt
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-04-08 14:29:54 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-05-14 11:10:03 +0100
commitbf73edcacdb2fa33510bbf73ab654345eba0a717 (patch)
tree0c670946c96bae7ca625bf2b4bcd746c0400099b /requirements.txt
parent6f46afb1786f5d489d3820c85c30a357c8fcd770 (diff)
downloadsos-bf73edcacdb2fa33510bbf73ab654345eba0a717.tar.gz
[Plugin] Replace command tuples with a class
Adds a SoSCommand class to represent any command that will be collected by sos. This replaces the previously used command tuples, which had an ever growing length that made it difficult to quickly identify fields in the logs. The _add_cmd_output() method now passes SoSCommand objects to the collect_cmds list, and _get_command_output_now() will now use the class directly when referencing parameters supported by add_cmd_output(). Fixes: #1275 Resolves: #1639 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions