From e684933525997be8289e554f3ff8eeb02917da5b Mon Sep 17 00:00:00 2001 From: Jarret Lavallee Date: Thu, 13 Aug 2020 12:37:09 -0600 Subject: [PATCH] (maint) Fix the argument list for nonstandardpooler Prior to this commit, 7 arguments would be sent into the `retrieve` method in nonstandardpooler. There were only 6 arguments in the method definition so an error would be thrown. This commit adds the `ondemand` argument to the `retrieve` method, but does not utilize it. --- lib/vmfloaty/nonstandard_pooler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmfloaty/nonstandard_pooler.rb b/lib/vmfloaty/nonstandard_pooler.rb index 90722c0..5d755a9 100644 --- a/lib/vmfloaty/nonstandard_pooler.rb +++ b/lib/vmfloaty/nonstandard_pooler.rb @@ -22,7 +22,7 @@ def self.list_active(verbose, url, token, _user) status['reserved_hosts'] || [] end - def self.retrieve(verbose, os_type, token, url, _user, _options) + def self.retrieve(verbose, os_type, token, url, _user, _options, ondemand = nil) conn = Http.get_conn(verbose, url) conn.headers['X-AUTH-TOKEN'] = token if token