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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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