Skip to content

Commit

Permalink
remove be
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelichkovich committed May 15, 2024
1 parent ac8d95c commit 95b6163
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/node-controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (c *Controller) syncHandler(ctx context.Context, key string) error {
},
}
allocations := []v1alpha1.NodeSliceAllocation{}
logger.Info(fmt.Sprintf("node slice: %v\n", nodeslice))
logger.Info(fmt.Sprintf("node slice: %v", nodeslice))

//TODO: handle case when full, we could fire an event
subnets, err := iphelpers.DivideRangeBySize(nodeslice.Spec.Range, ipamConf.NodeSliceSize)
Expand Down Expand Up @@ -475,7 +475,7 @@ func (c *Controller) syncHandler(ctx context.Context, key string) error {
}
}
}

return nil
}

Expand All @@ -493,7 +493,7 @@ func (c *Controller) getNodeList() ([]*corev1.Node, error) {
return nodes, nil
}

// since multiple NADs can be attached to the same BE Network, we need to make sure their settings match in this case
// since multiple NADs can be attached to the same network, we need to make sure their settings match in this case
func (c *Controller) checkForMultiNadMismatch(name, namespace string) error {
nad, err := c.nadLister.NetworkAttachmentDefinitions(namespace).Get(name)
if err != nil {
Expand Down

0 comments on commit 95b6163

Please sign in to comment.