diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-10 10:41:59 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-11 09:24:58 -0400 |
commit | f054370e99dd9fe9ab83dacda16ab0efaecbf865 (patch) | |
tree | e2ba905dd29806b177315d403936faf1b4a129f4 /docs/index.rst | |
parent | 8793ff269d6acc0bf2f12ea98a72dc60a8b5ab77 (diff) | |
download | sos-f054370e99dd9fe9ab83dacda16ab0efaecbf865.tar.gz |
[sos] Read config section for clean when `--clean` is used
When a `report` or `collect` run would use `--clean` or `--mask` to do
in-line obfuscation of collected reports, sos would not read the config
section for clean - it would only be read if `sos clean` was called
directly. As such, users would need to manually specify config file
values for each run.
Alleviate this gap by reading the config section for `clean` if either
of the cleaner options are used. Do this before we apply cmdline options
so that we maintain our order of precedence.
Related: RHBZ#1950350
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'docs/index.rst')
0 files changed, 0 insertions, 0 deletions