From afe9978fce6dc034f85cd33a6bc80a331859e0e3 Mon Sep 17 00:00:00 2001 From: sivamanikantakumar Date: Mon, 21 Apr 2025 17:54:50 -0400 Subject: [PATCH] Update vm-datastore fix: correct typo 'datstore' to 'datastore' in existing datastore error message Updated the error string from "datstore '${_name}' already exists!" to "datastore '${_name}' already exists!" to fix a typo and improve clarity. --- lib/vm-datastore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vm-datastore b/lib/vm-datastore index c10c9e21..183f1f6a 100644 --- a/lib/vm-datastore +++ b/lib/vm-datastore @@ -96,7 +96,7 @@ datastore::add(){ # check name not in use for _curr in ${VM_DATASTORE_LIST}; do - [ "${_curr}" = "${_name}" ] && util::err "datstore '${_name}' already exists!" + [ "${_curr}" = "${_name}" ] && util::err "datastore '${_name}' already exists!" done # look for zfs