MCPcopy
hub / github.com/kubernetes/kops / FixWildcards

Function FixWildcards

dns-controller/pkg/dns/dnscontroller.go:536–538  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

534}
535
536func FixWildcards(s string) string {
537 return strings.Replace(s, "\\052", "*", 1)
538}
539
540func (o *dnsOp) updateRecords(k recordKey, newRecords []string, ttl int64) error {
541 fqdn := EnsureDotSuffix(k.FQDN)

Callers 1

updateRecordsMethod · 0.85

Calls 1

ReplaceMethod · 0.65

Tested by

no test coverage detected