chore: fix some comments (#7201)

Signed-off-by: momantech <cuimoman@qq.com>
This commit is contained in:
momantech
2025-03-24 22:32:39 +08:00
committed by GitHub
parent 7c76d534d3
commit 1bb184aa09
3 changed files with 3 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ func emitAddressRecord(c chan<- []dns.RR, s msg.Service) string {
return ""
}
// calcSrvWeight borrows the logic implemented in plugin.SRV for dynamically
// calcSRVWeight borrows the logic implemented in plugin.SRV for dynamically
// calculating the srv weight and priority
func calcSRVWeight(numservices int) uint16 {
var services []msg.Service

View File

@@ -36,7 +36,7 @@ func TestStartup(t *testing.T) {
}
if m.tagSet != tagByProvider["default"] {
t.Errorf("TagSet by proviser hasn't been corectly initialized")
t.Errorf("TagSet by proviser hasn't been correctly initialized")
}
if m.Tracer() == nil {