mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-10 12:04:16 +00:00
fed: Fix deletion helper to use namespace-qualified object names
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user