From cff63b5d75520d6bbcfbc0f1ce2830d16b57556e Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Tue, 9 Jul 2024 14:29:27 -0400 Subject: [PATCH] BUGFIX: Remove debug statement left in by mistake (#3041) --- commands/types/dnscontrol.d.ts | 5 ++--- pkg/rtypes/postprocess.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts index 169073da0..c3b6e7084 100644 --- a/commands/types/dnscontrol.d.ts +++ b/commands/types/dnscontrol.d.ts @@ -509,7 +509,7 @@ declare function CF_REDIRECT(source: string, destination: string, ...modifiers: * This feature manages dynamic "Single Redirects". (Single Redirects can be * static or dynamic but DNSControl only maintains dynamic redirects). * - * Cloudflare documentation: https://developers.cloudflare.com/rules/url-forwarding/single-redirects/ + * Cloudflare documentation: * * ```javascript * D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER), @@ -526,8 +526,7 @@ declare function CF_REDIRECT(source: string, destination: string, ...modifiers: * * when: What Cloudflare sometimes calls the "rule expression". * * then: The replacement expression. * - * NOTE: - * The features [`CF_REDIRECT`](CF_REDIRECT.md) and [`CF_TEMP_REDIRECT`](CF_TEMP_REDIRECT.md) generate `CF_SINGLE_REDIRECT` if enabled in [`CLOUDFLAREAPI`](../../provider/cloudflareapi.md). + * NOTE: The features [`CF_REDIRECT`](CF_REDIRECT.md) and [`CF_TEMP_REDIRECT`](CF_TEMP_REDIRECT.md) generate `CF_SINGLE_REDIRECT` if enabled in [`CLOUDFLAREAPI`](../../provider/cloudflareapi.md). * * @see https://docs.dnscontrol.org/language-reference/domain-modifiers/service-provider-specific/cloudflare-dns/cf_single_redirect */ diff --git a/pkg/rtypes/postprocess.go b/pkg/rtypes/postprocess.go index c38abc6ba..bdc5ee6b1 100644 --- a/pkg/rtypes/postprocess.go +++ b/pkg/rtypes/postprocess.go @@ -12,7 +12,7 @@ func PostProcess(domains []*models.DomainConfig) error { var err error for _, dc := range domains { - fmt.Printf("DOMAIN: %d %s\n", len(dc.Records), dc.Name) + //fmt.Printf("DOMAIN: %d %s\n", len(dc.Records), dc.Name) for _, rawRec := range dc.RawRecords { rec := &models.RecordConfig{