mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CHORE: Remove diff1 from codebase (#2575)
This commit is contained in:
@ -119,18 +119,18 @@ func (config *DNSConfig) DomainContainingFQDN(fqdn string) *DomainConfig {
|
||||
return d
|
||||
}
|
||||
|
||||
// IgnoreName describes an IGNORE_NAME rule.
|
||||
type IgnoreName struct {
|
||||
Pattern string `json:"pattern"` // Glob pattern.
|
||||
Types string `json:"types"` // All caps rtype names, comma separated.
|
||||
}
|
||||
|
||||
// IgnoreTarget describes an IGNORE_TARGET rule.
|
||||
type IgnoreTarget struct {
|
||||
Pattern string `json:"pattern"` // Glob pattern.
|
||||
Type string `json:"type"` // All caps rtype name.
|
||||
}
|
||||
|
||||
func (i *IgnoreTarget) String() string {
|
||||
return i.Pattern
|
||||
}
|
||||
//// IgnoreName describes an IGNORE_NAME rule.
|
||||
//type IgnoreName struct {
|
||||
// Pattern string `json:"pattern"` // Glob pattern.
|
||||
// Types string `json:"types"` // All caps rtype names, comma separated.
|
||||
//}
|
||||
//
|
||||
//// IgnoreTarget describes an IGNORE_TARGET rule.
|
||||
//type IgnoreTarget struct {
|
||||
// Pattern string `json:"pattern"` // Glob pattern.
|
||||
// Type string `json:"type"` // All caps rtype name.
|
||||
//}
|
||||
//
|
||||
//func (i *IgnoreTarget) String() string {
|
||||
// return i.Pattern
|
||||
//}
|
||||
|
@ -30,8 +30,6 @@ type DomainConfig struct {
|
||||
EnsureAbsent Records `json:"recordsabsent,omitempty"` // ENSURE_ABSENT
|
||||
KeepUnknown bool `json:"keepunknown,omitempty"` // NO_PURGE
|
||||
|
||||
IgnoredNames []*IgnoreName `json:"ignored_names,omitempty"`
|
||||
IgnoredTargets []*IgnoreTarget `json:"ignored_targets,omitempty"`
|
||||
Unmanaged []*UnmanagedConfig `json:"unmanaged,omitempty"` // IGNORE()
|
||||
UnmanagedUnsafe bool `json:"unmanaged_disable_safety_check,omitempty"` // DISABLE_IGNORE_SAFETY_CHECK
|
||||
|
||||
|
Reference in New Issue
Block a user