remove the outdated TODO

Kubernetes-commit: 9be76ec461e6bd2bddb5ab26b41b3ef5938e0791
This commit is contained in:
lcfang 2018-03-13 20:31:01 +08:00 committed by Kubernetes Publisher
parent ba6d999b6e
commit 39fbe7ba58
1 changed files with 0 additions and 2 deletions

View File

@ -38,8 +38,6 @@ func FillObjectMetaSystemFields(ctx genericapirequest.Context, meta metav1.Objec
// ValidNamespace returns false if the namespace on the context differs from
// the resource. If the resource has no namespace, it is set to the value in
// the context.
//
// TODO(sttts): move into pkg/genericapiserver/endpoints
func ValidNamespace(ctx genericapirequest.Context, resource metav1.Object) bool {
ns, ok := genericapirequest.NamespaceFrom(ctx)
if len(resource.GetNamespace()) == 0 {