mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Adding missing 'start' variable
This commit is contained in:
parent
087be6014d
commit
b6e15080de
1 changed files with 2 additions and 0 deletions
|
|
@ -241,6 +241,8 @@ def destroy_vm vm, pool
|
|||
host = $vsphere[pool].find_vm_heavy(vm)[vm]
|
||||
|
||||
if (host)
|
||||
start = Time.now
|
||||
|
||||
if (
|
||||
(host.runtime) and
|
||||
(host.runtime.powerState) and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue