endpointslice: reduce visibility of vars/funcs
Reduce the visibility of various public identifiers that are only used within the scope of a package. This was originally motivated by KEP-3685 in order to reduce the public API surface and improve supportability.
This commit is contained in:
@@ -522,7 +522,7 @@ func (c *Controller) updateNode(old, cur interface{}) {
|
||||
|
||||
// LabelTopologyZone may be added by cloud provider asynchronously after the Node is created.
|
||||
// The topology cache should be updated in this case.
|
||||
if topologycache.NodeReady(oldNode.Status) != topologycache.NodeReady(curNode.Status) ||
|
||||
if isNodeReady(oldNode) != isNodeReady(curNode) ||
|
||||
oldNode.Labels[v1.LabelTopologyZone] != curNode.Labels[v1.LabelTopologyZone] {
|
||||
c.checkNodeTopologyDistribution()
|
||||
}
|
||||
|
Reference in New Issue
Block a user