mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Missing an 'and'
This commit is contained in:
parent
2f1a83eeb6
commit
77ffd7f829
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]
|
host = $vsphere_helper.find_vms(vm)[vm]
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(host.runtime)
|
(host.runtime) and
|
||||||
(host.runtime.powerState != 'poweredOn')
|
(host.runtime.powerState != 'poweredOn')
|
||||||
)
|
)
|
||||||
$redis.smove('vmware_host_pool__ready__'+pool, 'vmware_host_pool__completed__'+pool, vm)
|
$redis.smove('vmware_host_pool__ready__'+pool, 'vmware_host_pool__completed__'+pool, vm)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue