diff --git a/endpoint/endpoint.go b/endpoint/endpoint.go index dbeabcef88..e060ed4eef 100644 --- a/endpoint/endpoint.go +++ b/endpoint/endpoint.go @@ -113,7 +113,7 @@ func (t Targets) Swap(i, j int) { t[i], t[j] = t[j], t[i] } -// Same compares to Targets and returns true if they are identical (case-insensitive) +// Same compares two Targets and returns true if they are identical (case-insensitive) func (t Targets) Same(o Targets) bool { if len(t) != len(o) { return false