Remove the TODO for container name matching

This commit is contained in:
Ted Yu 2019-07-08 09:23:32 -07:00 committed by Ted Yu
parent f978c4cab5
commit 4ca5b45f3d

View File

@ -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 {