mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-11-22 06:52:18 +00:00
fix typo in post
This commit is contained in:
parent
13ec3a2da6
commit
87d5a79013
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ if (conflict) {
|
||||||
System.log("Existing conflict found, skipping AD check...")
|
System.log("Existing conflict found, skipping AD check...")
|
||||||
} else {
|
} else {
|
||||||
var result = System.getModule("net.bowdre.utility").checkForAdConflict(candidateVmName);
|
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) {
|
if (result == true) {
|
||||||
conflict = true;
|
conflict = true;
|
||||||
errMsg = "Conflicting AD object found!"
|
errMsg = "Conflicting AD object found!"
|
||||||
|
@ -198,7 +198,7 @@ if (conflict) {
|
||||||
System.log("Existing conflict found, skipping DNS check...")
|
System.log("Existing conflict found, skipping DNS check...")
|
||||||
} else {
|
} else {
|
||||||
if (System.resolveHostName(candidateVmName + "." + domain)) {
|
if (System.resolveHostName(candidateVmName + "." + domain)) {
|
||||||
conflict == true;
|
conflict = true;
|
||||||
errMsg = "Conflicting DNS record found!"
|
errMsg = "Conflicting DNS record found!"
|
||||||
System.warn(errMsg)
|
System.warn(errMsg)
|
||||||
throw(errMsg)
|
throw(errMsg)
|
||||||
|
|
Loading…
Reference in a new issue