mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(maint) Fix merge issue
It seems like generate_and_check_hostname does not need a method argument this was fixed in one PR, and another change made in another PR and was used inconsistently
This commit is contained in:
parent
7d6c887aed
commit
30b96536b3
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ module Vmpooler
|
||||||
hostname_retries = 0
|
hostname_retries = 0
|
||||||
max_hostname_retries = 3
|
max_hostname_retries = 3
|
||||||
while hostname_retries < max_hostname_retries
|
while hostname_retries < max_hostname_retries
|
||||||
hostname, hostname_available = generate_and_check_hostname(pool_name)
|
hostname, hostname_available = generate_and_check_hostname
|
||||||
domain = $config[:config]['domain']
|
domain = $config[:config]['domain']
|
||||||
dns_ip, dns_available = check_dns_available(hostname, domain)
|
dns_ip, dns_available = check_dns_available(hostname, domain)
|
||||||
break if hostname_available && dns_available
|
break if hostname_available && dns_available
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue