From f8cc329447bb9eb606c683bac1024ff4ccf2409d Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 15 Sep 2015 13:28:53 -0700 Subject: [PATCH] Fix typo for delete methods --- lib/vmfloaty.rb | 2 +- lib/vmfloaty/pooler.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vmfloaty.rb b/lib/vmfloaty.rb index 017a76d..dbd6cfa 100644 --- a/lib/vmfloaty.rb +++ b/lib/vmfloaty.rb @@ -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 diff --git a/lib/vmfloaty/pooler.rb b/lib/vmfloaty/pooler.rb index 25b79c7..b565532 100644 --- a/lib/vmfloaty/pooler.rb +++ b/lib/vmfloaty/pooler.rb @@ -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)