(s string)
| 433 | } |
| 434 | |
| 435 | func EnsureDotSuffix(s string) string { |
| 436 | if !strings.HasSuffix(s, ".") { |
| 437 | s = s + "." |
| 438 | } |
| 439 | return s |
| 440 | } |
| 441 | |
| 442 | func (o *dnsOp) findZone(fqdn string) dnsprovider.Zone { |
| 443 | zoneName := EnsureDotSuffix(fqdn) |
no outgoing calls