From be5c67f6969b65f673be1b3b1fbf836cf617c655 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 6 Jan 2020 09:11:00 -0500 Subject: [PATCH] Add messages when adding/removing clusters to CLI --- client-cli/pvc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index e1c397b0..b6abf544 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -180,6 +180,7 @@ def cluster_add(address, port, ssl, name): } # Update the store update_store(store_path, existing_config) + click.echo('Added new cluster "{}" at host "{}" to local database'.format(name, address) ############################################################################### # pvc cluster remove @@ -201,6 +202,7 @@ def cluster_remove(name): print('No cluster with name "{}" found'.format(name)) # Update the store update_store(store_path, existing_config) + click.echo('Removed cluster "{}" from local database'.format(name) ############################################################################### # pvc cluster list