Skip to content

Commit 692d921

Browse files
committed
Grammar
Signed-off-by: Tobias Guggenmos <guggenmos@dfn-cert.de>
1 parent accbc90 commit 692d921

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prober/dns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func validRRs(rrType string, rrs *[]dns.RR, v *config.DNSRRValidator, logger *sl
8989
return ProbeFailure(failure_reason, "problem", "Not all RRs matched regexp")
9090
}
9191
if len(v.FailIfNoneMatchesRegexp) > 0 && !anyMatch {
92-
return ProbeFailure(failure_reason, "problem", "None of the RRs did matched any regexp")
92+
return ProbeFailure(failure_reason, "problem", "None of the RRs matched any regexp")
9393
}
9494
return ProbeSuccess()
9595
}

prober/dns_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ func TestAuthoritativeDNSResponse(t *testing.T) {
363363
ValidateAdditional: config.DNSRRValidator{
364364
FailIfNoneMatchesRegexp: []string{".*127.0.0.3.*"},
365365
},
366-
}, ProbeFailure("Additional RRs validation Failed", "problem", "None of the RRs did matched any regexp"),
366+
}, ProbeFailure("Additional RRs validation Failed", "problem", "None of the RRs matched any regexp"),
367367
},
368368
}
369369

0 commit comments

Comments
 (0)