diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-19 10:32:26 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-08-23 13:16:28 -0400 |
commit | 3ace0b91e46725777a7c7940c77f4561c82bd725 (patch) | |
tree | 56d812b36db05f4e0f8f965b78932b57ba73f3c0 | |
parent | 93da93267a582d8e93e1da55f7e6a6763a6791b8 (diff) | |
download | sos-3ace0b91e46725777a7c7940c77f4561c82bd725.tar.gz |
[collect] Remove double prompt for case ID
Remove the case ID prompt within `collect`, since the one from `Policy`
will always apply. This avoids a double prompt for a case ID if the user
does not originally provide one.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/collector/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sos/collector/__init__.py b/sos/collector/__init__.py index a9d4c09c..b2a07f37 100644 --- a/sos/collector/__init__.py +++ b/sos/collector/__init__.py @@ -1104,11 +1104,6 @@ this utility or remote systems that it connects to. except KeyboardInterrupt: self.exit("Exiting on user cancel", 130) - if not self.opts.case_id and not self.opts.batch: - msg = 'Optionally, please enter the case id you are collecting ' \ - 'reports for: ' - self.opts.case_id = input(msg) - def execute(self): if self.opts.list_options: self.list_options() |