Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/oci/load_balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (cp *CloudProvider) GetLoadBalancer(ctx context.Context, clusterName string
return lbStatus, (err == nil), err
}

// getSubnets returns a list of Subnet objects for the corrosponding OCIDs.
// getSubnets returns a list of Subnet objects for the corresponding OCIDs.
func getSubnets(ctx context.Context, subnetIDs []string, n client.NetworkingInterface) ([]*core.Subnet, error) {
subnets := make([]*core.Subnet, len(subnetIDs))
for i, id := range subnetIDs {
Expand Down Expand Up @@ -484,7 +484,7 @@ func (cp *CloudProvider) UpdateLoadBalancer(ctx context.Context, clusterName str
return err
}

// getNodesByIPs returns a slice of Nodes corrosponding to the given IP addresses.
// getNodesByIPs returns a slice of Nodes corresponding to the given IP addresses.
func (cp *CloudProvider) getNodesByIPs(backendIPs []string) ([]*v1.Node, error) {
nodeList, err := cp.NodeLister.List(labels.Everything())
if err != nil {
Expand Down