mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Grab host instead of hostname for options params
This commit is contained in:
parent
a9bce6ec97
commit
a72303c859
1 changed files with 3 additions and 3 deletions
|
|
@ -104,7 +104,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
|
||||||
lifetime = options.lifetime
|
lifetime = options.lifetime
|
||||||
tags = options.tags
|
tags = options.tags
|
||||||
token = options.token
|
token = options.token
|
||||||
|
|
@ -143,7 +143,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
|
||||||
token = options.token
|
token = options.token
|
||||||
|
|
||||||
res_body = Pooler.snapshot(verbose, url, hostname, token)
|
res_body = Pooler.snapshot(verbose, url, hostname, token)
|
||||||
|
|
@ -164,7 +164,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
|
||||||
token = options.token
|
token = options.token
|
||||||
snapshot_sha = options.snapshot
|
snapshot_sha = options.snapshot
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue