From 36a98890a53e60eb6a8d16a5f540ee439aba0d55 Mon Sep 17 00:00:00 2001 From: Florian Ritterhoff <32478819+fritterhoff@users.noreply.github.com> Date: Tue, 24 Oct 2023 05:54:31 +0000 Subject: [PATCH] fix: don't use diff2 anymore --- .github/workflows/ci.yml | 1 + cmd/gen.go | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77cb92c..49923a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ on: push: branches: - "*" + pull_request: name: CI build jobs: diff --git a/cmd/gen.go b/cmd/gen.go index ac47a25..d3230c3 100644 --- a/cmd/gen.go +++ b/cmd/gen.go @@ -15,7 +15,6 @@ import ( "strings" "github.com/StackExchange/dnscontrol/v4/models" - "github.com/StackExchange/dnscontrol/v4/pkg/diff2" "github.com/StackExchange/dnscontrol/v4/pkg/transform" "github.com/StackExchange/dnscontrol/v4/providers" _ "github.com/StackExchange/dnscontrol/v4/providers/bind" @@ -67,7 +66,6 @@ var genCmd = &cobra.Command{ cfg["directory"] = dir cfg["filenameformat"] = "zone.%U" - diff2.EnableDiff2 = true provider, err := providers.CreateDNSProvider("BIND", cfg, nil) if err != nil { logger.Sugar().Fatalf("error creating bind provider %v", err)