mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Remove pool_backend method
This commit is contained in:
parent
830acd705d
commit
f5c3c86632
2 changed files with 1 additions and 7 deletions
|
|
@ -36,13 +36,6 @@ module Vmpooler
|
|||
validate_token(backend)
|
||||
end
|
||||
|
||||
def pool_backend(pool)
|
||||
pool_index = pool_index(pools)
|
||||
pool_config = pools[pool_index[pool]]
|
||||
backend = pool_config['clone_target'] || config['clone_target'] || 'default'
|
||||
return backend
|
||||
end
|
||||
|
||||
def fetch_single_vm(template)
|
||||
template_backends = [template]
|
||||
aliases = Vmpooler::API.settings.config[:alias]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue