mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Fix some typos in comments. (#4100)
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
This commit is contained in:
@@ -42,7 +42,7 @@ type EndpointPort struct {
|
||||
Protocol string
|
||||
}
|
||||
|
||||
// EndpointsKey return a string using for the index.
|
||||
// EndpointsKey returns a string using for the index.
|
||||
func EndpointsKey(name, namespace string) string { return name + "." + namespace }
|
||||
|
||||
// ToEndpoints returns a function that converts an *api.Endpoints to a *Endpoints.
|
||||
|
||||
Reference in New Issue
Block a user