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

@@ -211,7 +211,7 @@ func NewDeploymentController(federationClient fedclientset.Interface) *Deploymen
// objNameFunc
func(obj runtime.Object) string {
deployment := obj.(*extensionsv1.Deployment)
return deployment.Name
return fmt.Sprintf("%s/%s", deployment.Namespace, deployment.Name)
},
updateTimeout,
fdc.eventRecorder,