mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -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|
|
||||
verbose = options.verbose || config['verbose']
|
||||
url = options.url ||= config['url']
|
||||
hostname = options.hostname
|
||||
hostname = options.host
|
||||
|
||||
query = Pooler.query(verbose, url, hostname)
|
||||
puts query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue