From d4a3e30edd005c98b20a299b2a065397b865c5b4 Mon Sep 17 00:00:00 2001 From: feihujiang Date: Wed, 9 Sep 2015 11:40:36 +0800 Subject: [PATCH] Remove the redundant definite article --- pkg/registry/pod/strategy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/registry/pod/strategy.go b/pkg/registry/pod/strategy.go index 622c689bdba..7d4c44f6307 100644 --- a/pkg/registry/pod/strategy.go +++ b/pkg/registry/pod/strategy.go @@ -220,7 +220,7 @@ func ResourceLocation(getter ResourceGetter, ctx api.Context, id string) (*url.U return loc, nil, nil } -// LogLocation returns a the log URL for a pod container. If opts.Container is blank +// LogLocation returns the log URL for a pod container. If opts.Container is blank // and only one container is present in the pod, that container is used. func LogLocation(getter ResourceGetter, connInfo client.ConnectionInfoGetter, ctx api.Context, name string, opts *api.PodLogOptions) (*url.URL, http.RoundTripper, error) { pod, err := getPod(getter, ctx, name) @@ -347,7 +347,7 @@ func streamLocation(getter ResourceGetter, connInfo client.ConnectionInfoGetter, return loc, nodeTransport, nil } -// PortForwardLocation returns a the port-forward URL for a pod. +// PortForwardLocation returns the port-forward URL for a pod. func PortForwardLocation(getter ResourceGetter, connInfo client.ConnectionInfoGetter, ctx api.Context, name string) (*url.URL, http.RoundTripper, error) { pod, err := getPod(getter, ctx, name) if err != nil {