mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-13 08:34:45 +08:00
TESTING: Bug: integration tests ignore 'type' in ignoreTarget (#2867)
This commit is contained in:
parent
73c303bf76
commit
68314ee034
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue