Add a --check-config option for cli commands
Closed
requested to merge generated-differential-D3834-source into generated-differential-D3834-target
- Aug 25, 2020
-
-
David Douard authored
this allows to specify on command line wether to check the configuration and read or write access to the storage at startup time (especially for `rpc-server` and `replay` commands.) Warning: this option defaults to "read" for the backfill command and "write" for rpc-serve and replay commands, so now the creation of the Storage instance used in cli commands *will be checked*. Closes T2525.
-
David Douard authored
include the validation of the presence of a "storage" config section in the main `storage` click.group, where the config-file is actually parsed.
-