commit 59450af179bb67c3784b916b5eba38fc08531a05
Author: Victor Romano <email address hidden>
Date: Tue Jan 24 12:11:59 2023 -0300
Warn about invalid date when collecting logs
If the user entered an invalid start-date, invalid end-date and/or
the start-date is greater than the end-date during the collect logs
process, the system will warn the user about the error, instead of
just reverting to collect all.
Test plan:
PASS - Install and bootstrap SX and test if the warnings are
presented if an invalid start-date, end-date and/or date range
are passed by the user, as well as collecting logs if correct
parameters are provided.
PASS - Install and bootstrap Standard and test if the warnings are
presented if an invalid start-date, end-date and/or date range
are passed by the user, as well as collecting logs if correct
parameters are provided.
Closes-bug: 2003791
Signed-off-by: Victor Romano <email address hidden>
Change-Id: Iab35b1d92f4471e2713fabe5d7a6ef8b611ea240
Reviewed: https:/ /review. opendev. org/c/starlingx /utilities/ +/871634 /opendev. org/starlingx/ utilities/ commit/ 59450af179bb67c 3784b916b5eba38 fc08531a05
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 59450af179bb67c 3784b916b5eba38 fc08531a05
Author: Victor Romano <email address hidden>
Date: Tue Jan 24 12:11:59 2023 -0300
Warn about invalid date when collecting logs
If the user entered an invalid start-date, invalid end-date and/or
the start-date is greater than the end-date during the collect logs
process, the system will warn the user about the error, instead of
just reverting to collect all.
Test plan:
PASS - Install and bootstrap SX and test if the warnings are
presented if an invalid start-date, end-date and/or date range
are passed by the user, as well as collecting logs if correct
parameters are provided.
PASS - Install and bootstrap Standard and test if the warnings are
presented if an invalid start-date, end-date and/or date range
are passed by the user, as well as collecting logs if correct
parameters are provided.
Closes-bug: 2003791
Signed-off-by: Victor Romano <email address hidden> e2713fabe5d7a6e f8b611ea240
Change-Id: Iab35b1d92f4471