mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Missing an 'and'
This commit is contained in:
parent
c261baeb3b
commit
4f3c2aedd5
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ def check_ready_vm vm, pool, ttl
|
|||
host = $vsphere_helper.find_vms(vm)[vm]
|
||||
|
||||
if (
|
||||
(host.runtime)
|
||||
(host.runtime) and
|
||||
(host.runtime.powerState != 'poweredOn')
|
||||
)
|
||||
$redis.smove('vmware_host_pool__ready__'+pool, 'vmware_host_pool__completed__'+pool, vm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue