Fix typo for delete methods

This commit is contained in:
Brian Cain 2015-09-15 13:28:53 -07:00
parent a72303c859
commit f8cc329447
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ class Vmfloaty
hosts = options.hosts
url = options.url ||= config['url']
Pool.delete(verbose, url, hosts)
Pooler.delete(verbose, url, hosts)
end
end

View file

@ -45,7 +45,7 @@ class Pooler
res_body
end
def self.delete(verbose, url, hostname)
def self.delete(verbose, url, hostnames)
hosts = hostnames.split(',')
conn = Http.get_conn(verbose, url)