fed: Fix deletion helper to use namespace-qualified object names

This commit is contained in:
Maru Newby
2017-05-02 14:12:25 -07:00
parent 82bc084297
commit fd4ff0caa5
6 changed files with 6 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ func NewNamespaceController(client federationclientset.Interface, dynamicClientP
// objNameFunc
func(obj runtime.Object) string {
namespace := obj.(*apiv1.Namespace)
return namespace.Name
return fmt.Sprintf("%s/%s", namespace.Namespace, namespace.Name)
},
nc.updateTimeout,
nc.eventRecorder,