mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Syntax fix
This commit is contained in:
parent
a67a6a1bfa
commit
4ab3203d5b
1 changed files with 2 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ def check_pool pool
|
|||
begin
|
||||
destroy_vm(vm, pool['name'])
|
||||
rescue
|
||||
$logger.log('s', "[!] [#{pool['name']}] destroy appears to have failed")
|
||||
$logger.log('s', "[!] [#{pool['name']}] destroy appears to have failed")
|
||||
$redis.srem('vmware_host_pool__completed__'+pool['name'], vm)
|
||||
$redis.hdel('vmware_host_pool__active__'+pool['name'], vm)
|
||||
end
|
||||
|
|
@ -350,7 +350,7 @@ def check_pool pool
|
|||
pool['datastore']
|
||||
)
|
||||
rescue
|
||||
$logger.log('s', "[!] [#{pool['name']}] cloned appears to have failed")
|
||||
$logger.log('s', "[!] [#{pool['name']}] clone appears to have failed")
|
||||
$redis.decr('vmware_host_pool__tasks__clone')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue