mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Remove the TODO for container name matching
This commit is contained in:
parent
f978c4cab5
commit
4ca5b45f3d
@ -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