mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
(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:
parent
b944760c93
commit
e684933525
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue