From 44163102eb40b48921ddb38e8929b5bc7e5d807a Mon Sep 17 00:00:00 2001 From: Lenny Chen Date: Tue, 21 Nov 2023 11:07:37 -0800 Subject: [PATCH] chore: make error message less specific as we do not know the actual error --- edge/vmware/clone_vm_template/delete-packer-cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edge/vmware/clone_vm_template/delete-packer-cache.sh b/edge/vmware/clone_vm_template/delete-packer-cache.sh index ae62694..f150072 100644 --- a/edge/vmware/clone_vm_template/delete-packer-cache.sh +++ b/edge/vmware/clone_vm_template/delete-packer-cache.sh @@ -5,7 +5,7 @@ source /edge/vmware/clone_vm_template/setenv.sh # First, list directories to confirm access and credentials govc datastore.ls -ds=$vcenter_datastore if [ $? -ne 0 ]; then - echo "Error accessing datastore. Please check credentials and permissions." + echo "Error accessing datastore." exit 1 fi