1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CLOUDFLARE: BUGFIX: Proxy=full not handled in diff2 (#2525)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Tom Limoncelli
2023-08-21 12:19:16 -04:00
committed by GitHub
parent d93308f54b
commit 7fc80ac7cc
4 changed files with 94 additions and 19 deletions

View File

@@ -236,6 +236,8 @@ func humanDiff(a, b targetConfig) string {
func diffTargets(existing, desired []targetConfig) ChangeList {
//fmt.Printf("DEBUG: diffTargets(\nexisting=%v\ndesired=%v\nDEBUG.\n", existing, desired)
// Nothing to do?
if len(existing) == 0 && len(desired) == 0 {
return nil