VMware: Fix typo in vmware_host_dns_facts.py (#60542)

Correct *search_doamin* to *search_domain*
pull/60562/head
Ryan Butler 5 years ago committed by Abhijeet Kasurde
parent 99fb0fcb2f
commit abf7cf97df

@ -74,7 +74,7 @@ hosts_dns_facts:
"ip_address": [
"8.8.8.8"
],
"search_doamin": [
"search_domain": [
"localdomain"
],
"virtual_nic_device": "vmk0"
@ -103,7 +103,7 @@ class VmwareDnsFactsManager(PyVmomi):
host_facts['host_name'] = dns_config.hostName
host_facts['domain_name'] = dns_config.domainName
host_facts['ip_address'] = [ip for ip in dns_config.address]
host_facts['search_doamin'] = [domain for domain in dns_config.searchDomain]
host_facts['search_domain'] = [domain for domain in dns_config.searchDomain]
hosts_facts[host.name] = host_facts
return hosts_facts

Loading…
Cancel
Save