// FormatHosts formats host overrides to a string
FormatHosts formats host overrides to a string
// FormatHosts formats host overrides to a string
func (d DNSOverrides) FormatHosts() string {
	var overrides []string
	for hostname, ip := range d.Hosts {
		overrides = append(overrides, fmt.Sprintf("%v/%v", hostname, ip))
	}
	return strings.Join(overrides, ",")
}
func ( d DNSOverrides ) FormatHosts ( ) string { var overrides [ ] string for hostname , ip := range d . Hosts { overrides = append ( overrides , fmt . Sprintf ( " " , hostname , ip ) ) } return strings . Join ( overrides , " " ) }
FormatHosts formats host overrides to a string
FormatHosts formats host overrides to a string