From 87d5a790131ffb69702e4ef908e24f01953e72bc Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 18 May 2022 16:03:59 -0500 Subject: [PATCH] fix typo in post --- .../posts/2021/vra8-custom-provisioning-part-three/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/2021/vra8-custom-provisioning-part-three/index.md b/content/posts/2021/vra8-custom-provisioning-part-three/index.md index 1f37723..6635d91 100644 --- a/content/posts/2021/vra8-custom-provisioning-part-three/index.md +++ b/content/posts/2021/vra8-custom-provisioning-part-three/index.md @@ -74,7 +74,7 @@ if (conflict) { System.log("Existing conflict found, skipping AD check...") } else { var result = System.getModule("net.bowdre.utility").checkForAdConflict(candidateVmName); - // remember this returns 'true' if a conflict is encounter + // remember this returns 'true' if a conflict is encountered if (result == true) { conflict = true; errMsg = "Conflicting AD object found!" @@ -198,7 +198,7 @@ if (conflict) { System.log("Existing conflict found, skipping DNS check...") } else { if (System.resolveHostName(candidateVmName + "." + domain)) { - conflict == true; + conflict = true; errMsg = "Conflicting DNS record found!" System.warn(errMsg) throw(errMsg)