Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Dec 28, 2024
1 parent 7179a19 commit 055b5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions pkg/rtypectl/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import (

"github.com/StackExchange/dnscontrol/v4/models"
"github.com/StackExchange/dnscontrol/v4/providers"

"github.com/StackExchange/dnscontrol/v4/pkg/printer"
)

type FromRawFn func(*models.RecordConfig, string, []any, map[string]string) error
Expand All @@ -30,7 +28,7 @@ var validTypes = map[string]struct{}{}

func Register(typeName string, opts RegisterOpts) error {

printer.Printf("rtypectl.Register(%q)\n", typeName)
//printer.Printf("rtypectl.Register(%q)\n", typeName)

if rtypeDB == nil {
rtypeDB = map[string]RegisterOpts{}
Expand Down
2 changes: 1 addition & 1 deletion providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func RegisterCustomRecordType(name, provider, realType string) {

// GetCustomRecordType returns a registered custom record type, or nil if none
func GetCustomRecordType(rType string) *CustomRType {
log.Printf("DEBUG: customRecordTypes: %+v", customRecordTypes)
//log.Printf("DEBUG: customRecordTypes: %+v", customRecordTypes)
return customRecordTypes[rType]
}

Expand Down

0 comments on commit 055b5e6

Please sign in to comment.