mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Merge pull request #79813 from tedyu/match-container-for-port
Remove the TODO for container name matching
This commit is contained in:
commit
2542746c1d
@ -247,7 +247,6 @@ func ResourceLocation(getter ResourceGetter, rt http.RoundTripper, ctx context.C
|
||||
if !valid {
|
||||
return nil, nil, errors.NewBadRequest(fmt.Sprintf("invalid pod request %q", id))
|
||||
}
|
||||
// TODO: if port is not a number but a "(container)/(portname)", do a name lookup.
|
||||
|
||||
pod, err := getPod(getter, ctx, name)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user