1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

TESTING: Bug: integration tests ignore 'type' in ignoreTarget (#2867)

This commit is contained in:
Tom Limoncelli
2024-03-03 12:17:12 -05:00
committed by GitHub
parent 73c303bf76
commit 68314ee034

View File

@ -534,7 +534,7 @@ func ignoreName(labelSpec string) *models.RecordConfig {
}
func ignoreTarget(targetSpec string, typeSpec string) *models.RecordConfig {
return ignore("*", "*", targetSpec)
return ignore("*", typeSpec, targetSpec)
}
func ignore(labelSpec string, typeSpec string, targetSpec string) *models.RecordConfig {
@ -723,7 +723,7 @@ func ns1Urlfwd(name, target string) *models.RecordConfig {
return makeRec(name, target, "NS1_URLFWD")
}
func clear(items ...interface{}) *TestCase {
func clear() *TestCase {
return tc("Empty")
}