Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-14435]Fix args parsing in failure detection py script
Summary: Key value parsing fails for values which contain `=` Eg: For `--ysql_pg_conf_csv="shared_preload_libraries=passwordcheck"` the script fails with ``` Traceback (most recent call last): File "/home/yugabyte/disk_io_failure_detection_py3.py", line 157, in <module> config_dict = parse_config_file(DEFAULT_HOME_DIR + process + CONF_PATH) File "/home/yugabyte/disk_io_failure_detection_py3.py", line 121, in parse_config_file key, value = line[2:].split('=') ValueError: too many values to unpack (expected 2) ``` Update the script to split after the first `=`. Test Plan: This fix was tested in fidelity's env. Reviewers: vpatibandla Reviewed By: vpatibandla Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D38213
- Loading branch information