Uniform code format (#5650)

Signed-off-by: sologgfun <857949825@qq.com>
This commit is contained in:
AS!
2023-04-26 11:36:27 +08:00
committed by GitHub
parent 04f56ee16a
commit b80920009c
3 changed files with 4 additions and 12 deletions

View File

@@ -77,9 +77,7 @@ func NewClusterClient(clusterInformer clusterinformer.ClusterInformer) ClusterCl
c.addCluster(newObj)
}
},
DeleteFunc: func(obj interface{}) {
c.removeCluster(obj)
},
DeleteFunc: c.removeCluster,
})
return c
}