From 52bf5ad0ef62050fc3fde6a2deb92e904cc239d7 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 27 Dec 2023 12:39:26 -0500 Subject: [PATCH] Update store_path set location Prevents a bug if no cluster is selected while doing connection list commands. --- client-cli/pvc/cli/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client-cli/pvc/cli/cli.py b/client-cli/pvc/cli/cli.py index 2b3256a4..f5441b52 100644 --- a/client-cli/pvc/cli/cli.py +++ b/client-cli/pvc/cli/cli.py @@ -6116,13 +6116,14 @@ def cli( else: CLI_CONFIG = get_config(store_data, _connection) + CLI_CONFIG["store_path"] = store_path + if not CLI_CONFIG.get("badcfg", None): CLI_CONFIG["debug"] = _debug CLI_CONFIG["unsafe"] = _unsafe CLI_CONFIG["colour"] = _colour CLI_CONFIG["quiet"] = _quiet CLI_CONFIG["silent"] = _silent - CLI_CONFIG["store_path"] = store_path audit()