mirror of
https://github.com/jbowdre/vRealize.git
synced 2024-11-23 10:12:18 +00:00
workflow updates
This commit is contained in:
parent
a4b014372f
commit
4eca15c016
3 changed files with 8 additions and 8 deletions
|
@ -8,7 +8,7 @@ if (conflict) {
|
||||||
System.debug("Existing conflict found, skipping AD check...");
|
System.debug("Existing conflict found, skipping AD check...");
|
||||||
} else {
|
} else {
|
||||||
var computer = ActiveDirectory.getComputerAD(candidateVmName, adHost);
|
var computer = ActiveDirectory.getComputerAD(candidateVmName, adHost);
|
||||||
System.log("Searched AD for: " + candidateVmName);
|
System.debug("Searched AD for: " + candidateVmName);
|
||||||
if (computer) {
|
if (computer) {
|
||||||
conflict = true;
|
conflict = true;
|
||||||
errMsg = "Conflicting AD object found!"
|
errMsg = "Conflicting AD object found!"
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
/* JavaScript: return nextVmName
|
|
||||||
Returns the selected nextVmName after passing all collision checks
|
|
||||||
Inputs: candidateVmName (string)
|
|
||||||
Outputs: nextVmName (string)
|
|
||||||
*/
|
|
||||||
nextVmName = candidateVmName;
|
|
||||||
System.log(" ***** Selecting [" + nextVmName + "] as the next VM name ***** ")
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
/* JavaScript: return vmName
|
||||||
|
Returns the selected vmName after passing all collision checks
|
||||||
|
Inputs: candidateVmName (string)
|
||||||
|
Outputs: vmName (string)
|
||||||
|
*/
|
||||||
|
vmName = candidateVmName;
|
||||||
|
System.log(" ***** Selecting [" + vmName + "] as the next VM name ***** ")
|
Loading…
Reference in a new issue