Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(forknet): Fix the state parts bucket cleanup logic (#12712)
Allow `reset` command to run without `--gcs...` parameter. ``` mirror reset --backup-id start --yes Traceback (most recent call last): File "/Users/razvan/repos/nearcore/pytest/tests/mocknet/mirror.py", line 772, in <module> args.func(args, traffic_generator, wanted_nodes) File "/Users/razvan/repos/nearcore/pytest/tests/mocknet/mirror.py", line 381, in reset_cmd _clear_state_parts_if_exists(_get_state_parts_location(args), nodes) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/razvan/repos/nearcore/pytest/tests/mocknet/mirror.py", line 280, in _get_state_parts_location if args.gcs_state_sync: ^^^^^^^^^^^^^^^^^^^ AttributeError: 'Namespace' object has no attribute 'gcs_state_sync' ```
- Loading branch information