Update store_path set location

Prevents a bug if no cluster is selected while doing connection list
commands.
This commit is contained in:
Joshua Boniface 2023-12-27 12:39:26 -05:00
parent 576afc1e94
commit 52bf5ad0ef
1 changed files with 2 additions and 1 deletions

View File

@ -6116,13 +6116,14 @@ def cli(
else: else:
CLI_CONFIG = get_config(store_data, _connection) CLI_CONFIG = get_config(store_data, _connection)
CLI_CONFIG["store_path"] = store_path
if not CLI_CONFIG.get("badcfg", None): if not CLI_CONFIG.get("badcfg", None):
CLI_CONFIG["debug"] = _debug CLI_CONFIG["debug"] = _debug
CLI_CONFIG["unsafe"] = _unsafe CLI_CONFIG["unsafe"] = _unsafe
CLI_CONFIG["colour"] = _colour CLI_CONFIG["colour"] = _colour
CLI_CONFIG["quiet"] = _quiet CLI_CONFIG["quiet"] = _quiet
CLI_CONFIG["silent"] = _silent CLI_CONFIG["silent"] = _silent
CLI_CONFIG["store_path"] = store_path
audit() audit()