mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Grab proper hostname flag for query command
This commit is contained in:
parent
7abe3564ed
commit
a9bce6ec97
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class Vmfloaty
|
||||||
c.action do |args, options|
|
c.action do |args, options|
|
||||||
verbose = options.verbose || config['verbose']
|
verbose = options.verbose || config['verbose']
|
||||||
url = options.url ||= config['url']
|
url = options.url ||= config['url']
|
||||||
hostname = options.hostname
|
hostname = options.host
|
||||||
|
|
||||||
query = Pooler.query(verbose, url, hostname)
|
query = Pooler.query(verbose, url, hostname)
|
||||||
puts query
|
puts query
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue