Skip to content

Commit e684933

Browse files
author
Jarret Lavallee
committed
(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.
1 parent b944760 commit e684933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vmfloaty/nonstandard_pooler.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def self.list_active(verbose, url, token, _user)
2222
status['reserved_hosts'] || []
2323
end
2424

25-
def self.retrieve(verbose, os_type, token, url, _user, _options)
25+
def self.retrieve(verbose, os_type, token, url, _user, _options, ondemand = nil)
2626
conn = Http.get_conn(verbose, url)
2727
conn.headers['X-AUTH-TOKEN'] = token if token
2828

0 commit comments

Comments
 (0)