mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-06 11:56:50 +08:00
parent
2f02deb0b0
commit
ff6aee9da4
1 changed files with 0 additions and 2 deletions
|
@ -342,8 +342,6 @@ func compileIgnoredTargets(ignoredTargets []*models.IgnoreTarget) []glob.Glob {
|
||||||
result := make([]glob.Glob, 0, len(ignoredTargets))
|
result := make([]glob.Glob, 0, len(ignoredTargets))
|
||||||
|
|
||||||
for _, tst := range ignoredTargets {
|
for _, tst := range ignoredTargets {
|
||||||
fmt.Sprintf("rType for IGNORE_TARGET %v", tst.Type)
|
|
||||||
|
|
||||||
if tst.Type != "CNAME" {
|
if tst.Type != "CNAME" {
|
||||||
panic(fmt.Sprintf("Invalid rType for IGNORE_TARGET %v", tst.Type))
|
panic(fmt.Sprintf("Invalid rType for IGNORE_TARGET %v", tst.Type))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue