diff options
Diffstat (limited to 'plugin/kubernetes')
-rw-r--r-- | plugin/kubernetes/autopath.go | 2 | ||||
-rw-r--r-- | plugin/kubernetes/object/endpoint.go | 2 | ||||
-rw-r--r-- | plugin/kubernetes/object/service.go | 2 | ||||
-rw-r--r-- | plugin/kubernetes/parse.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugin/kubernetes/autopath.go b/plugin/kubernetes/autopath.go index 6bca35d39..e87389768 100644 --- a/plugin/kubernetes/autopath.go +++ b/plugin/kubernetes/autopath.go @@ -49,7 +49,7 @@ func (k *Kubernetes) AutoPath(state request.Request) []string { return search } -// podWithIP return the api.Pod for source IP. It returns nil if nothing can be found. +// podWithIP returns the api.Pod for source IP. It returns nil if nothing can be found. func (k *Kubernetes) podWithIP(ip string) *object.Pod { if k.podMode != podModeVerified { return nil diff --git a/plugin/kubernetes/object/endpoint.go b/plugin/kubernetes/object/endpoint.go index f3ce9c2d6..d4c495861 100644 --- a/plugin/kubernetes/object/endpoint.go +++ b/plugin/kubernetes/object/endpoint.go @@ -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. diff --git a/plugin/kubernetes/object/service.go b/plugin/kubernetes/object/service.go index 4c0ea6901..de84cf941 100644 --- a/plugin/kubernetes/object/service.go +++ b/plugin/kubernetes/object/service.go @@ -25,7 +25,7 @@ type Service struct { *Empty } -// ServiceKey return a string using for the index. +// ServiceKey returns a string using for the index. func ServiceKey(name, namespace string) string { return name + "." + namespace } // ToService returns a function that converts an api.Service to a *Service. diff --git a/plugin/kubernetes/parse.go b/plugin/kubernetes/parse.go index da8392cbe..b5801a42e 100644 --- a/plugin/kubernetes/parse.go +++ b/plugin/kubernetes/parse.go @@ -99,7 +99,7 @@ func stripUnderscore(s string) string { return s[1:] } -// String return a string representation of r, it just returns all fields concatenated with dots. +// String returns a string representation of r, it just returns all fields concatenated with dots. // This is mostly used in tests. func (r recordRequest) String() string { s := r.port |