Update store_path set location
Prevents a bug if no cluster is selected while doing connection list commands.
This commit is contained in:
parent
576afc1e94
commit
52bf5ad0ef
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue