// FormatZones formats zone overrides to a string
FormatZones formats zone overrides to a string
// FormatZones formats zone overrides to a string
func (d DNSOverrides) FormatZones() string {
	var overrides []string
	for zone, nameservers := range d.Zones {
		for _, ns := range nameservers {
			overrides = append(overrides, fmt.Sprintf("%v/%v", zone, ns))
		}
	}
	return strings.Join(overrides, ",")
}
func ( d DNSOverrides ) FormatZones ( ) string { var overrides [ ] string for zone , nameservers := range d . Zones { for _ , ns := range nameservers { overrides = append ( overrides , fmt . Sprintf ( " " , zone , ns ) ) } } return strings . Join ( overrides , " " ) }
FormatZones formats zone overrides to a string
FormatZones formats zone overrides to a string