diff --git a/plugin/kubernetes/xfr.go b/plugin/kubernetes/xfr.go index 4d941a96e..6a5faff2c 100644 --- a/plugin/kubernetes/xfr.go +++ b/plugin/kubernetes/xfr.go @@ -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 diff --git a/plugin/trace/trace_test.go b/plugin/trace/trace_test.go index c260501cc..28bdaf51c 100644 --- a/plugin/trace/trace_test.go +++ b/plugin/trace/trace_test.go @@ -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 { diff --git a/test/readme_test.go b/test/readme_test.go index b02fe0ebc..36e6cde94 100644 --- a/test/readme_test.go +++ b/test/readme_test.go @@ -166,7 +166,7 @@ func sectionsFromReadme(readme string) error { } } if section != 4 { - return fmt.Errorf("Sections incomplete or ordered wrong: %q, want (at least): Name, Descripion, Syntax and Examples", readme) + return fmt.Errorf("Sections incomplete or ordered wrong: %q, want (at least): Name, Description, Syntax and Examples", readme) } return nil }