mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Fix typo for delete methods
This commit is contained in:
parent
a72303c859
commit
f8cc329447
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ class Vmfloaty
|
||||||
hosts = options.hosts
|
hosts = options.hosts
|
||||||
url = options.url ||= config['url']
|
url = options.url ||= config['url']
|
||||||
|
|
||||||
Pool.delete(verbose, url, hosts)
|
Pooler.delete(verbose, url, hosts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ class Pooler
|
||||||
res_body
|
res_body
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.delete(verbose, url, hostname)
|
def self.delete(verbose, url, hostnames)
|
||||||
hosts = hostnames.split(',')
|
hosts = hostnames.split(',')
|
||||||
conn = Http.get_conn(verbose, url)
|
conn = Http.get_conn(verbose, url)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue