(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.
This commit is contained in:
Jarret Lavallee 2020-08-13 12:37:09 -06:00
parent b944760c93
commit e684933525

View file

@ -22,7 +22,7 @@ class NonstandardPooler
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