Commit 0f4fa4ed authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #13704 from feihujiang/removeTheRedundantDefiniiteArticle

Auto commit by PR queue bot
parents 0a7921e9 d4a3e30e
...@@ -220,7 +220,7 @@ func ResourceLocation(getter ResourceGetter, ctx api.Context, id string) (*url.U ...@@ -220,7 +220,7 @@ func ResourceLocation(getter ResourceGetter, ctx api.Context, id string) (*url.U
return loc, nil, nil 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. // 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) { 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) pod, err := getPod(getter, ctx, name)
...@@ -347,7 +347,7 @@ func streamLocation(getter ResourceGetter, connInfo client.ConnectionInfoGetter, ...@@ -347,7 +347,7 @@ func streamLocation(getter ResourceGetter, connInfo client.ConnectionInfoGetter,
return loc, nodeTransport, nil 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) { func PortForwardLocation(getter ResourceGetter, connInfo client.ConnectionInfoGetter, ctx api.Context, name string) (*url.URL, http.RoundTripper, error) {
pod, err := getPod(getter, ctx, name) pod, err := getPod(getter, ctx, name)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment