(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:
Samuel Beaulieu 2020-06-04 12:55:30 -05:00
parent 7d6c887aed
commit 30b96536b3

View file

@ -353,7 +353,7 @@ module Vmpooler
hostname_retries = 0
max_hostname_retries = 3
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']
dns_ip, dns_available = check_dns_available(hostname, domain)
break if hostname_available && dns_available