Remove debug line left from development (#835) (#839)

This commit is contained in:
Mike Cochrane 2020-08-31 23:17:38 +12:00 committed by GitHub
parent 2f02deb0b0
commit ff6aee9da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))
} }