mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
refactor corrections
This commit is contained in:
@ -2,17 +2,19 @@ package commands
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"golang.org/x/net/idna"
|
||||
"log"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/net/idna"
|
||||
|
||||
"github.com/StackExchange/dnscontrol/v3/models"
|
||||
"github.com/StackExchange/dnscontrol/v3/pkg/credsfile"
|
||||
"github.com/StackExchange/dnscontrol/v3/pkg/nameservers"
|
||||
"github.com/StackExchange/dnscontrol/v3/pkg/normalize"
|
||||
"github.com/StackExchange/dnscontrol/v3/pkg/notifications"
|
||||
"github.com/StackExchange/dnscontrol/v3/pkg/printer"
|
||||
"github.com/StackExchange/dnscontrol/v3/pkg/zonerecs"
|
||||
"github.com/StackExchange/dnscontrol/v3/providers"
|
||||
"github.com/urfave/cli/v2"
|
||||
"golang.org/x/exp/slices"
|
||||
@ -188,7 +190,7 @@ DomainLoop:
|
||||
|
||||
/// This is where we should audit?
|
||||
|
||||
corrections, err := provider.Driver.GetDomainCorrections(dc)
|
||||
corrections, err := zonerecs.CorrectZoneRecords(provider.Driver, dc)
|
||||
out.EndProvider(len(corrections), err)
|
||||
if err != nil {
|
||||
anyErrors = true
|
||||
|
Reference in New Issue
Block a user