(MAINT) fix connection preferences

Previously, beaker-vmpooler defined its
connection preferences as string options, but
beaker provides defaults as symbols. This ends
with beaker saying that it doesn't support methods
that it does due to the mismatch. This will get
rid of those messages, as the provided methods
will be symbols, matching what beaker expects
This commit is contained in:
kevpl 2018-03-09 15:00:54 -08:00
parent 3ac63b61da
commit b1f30c268f
No known key found for this signature in database
GPG key ID: A2791F7C6D6C0186

View file

@ -53,7 +53,7 @@ module Beaker
end end
def connection_preference(host) def connection_preference(host)
['vmhostname', 'ip', 'hostname'] [:vmhostname, :ip, :hostname]
end end
def check_url url def check_url url