mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(POOLER-70) Rename conflicting method in vSphere Provider
Previously, the vSphere Provider had two methods called `find_least_used_compatible_host`: one in the base class and one in the vSphere helper methods. This commit renames the vSphere helper methods and tests to `find_least_used_vsphere_compatible_host` to stop the conflict.
This commit is contained in:
parent
8cf3d043bf
commit
e5db02b44f
2 changed files with 1919 additions and 1919 deletions
|
|
@ -265,7 +265,7 @@ module Vmpooler
|
|||
cluster_hosts
|
||||
end
|
||||
|
||||
def find_least_used_compatible_host(vm)
|
||||
def find_least_used_vpshere_compatible_host(vm)
|
||||
ensure_connected @connection, @credentials
|
||||
|
||||
source_host = vm.summary.runtime.host
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue