Skip to content

Commit

Permalink
More comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziopandini committed Jan 20, 2025
1 parent dca9560 commit 9d9ab84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controlplane/kubeadm/internal/control_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func (c *ControlPlane) InjectTestManagementCluster(managementCluster ManagementC
c.workloadCluster = nil
}

// StatusToLogKeyAndValues returns following key/value pairs describing the overall status of the control plane:
// StatusToLogKeyAndValues returns the following key/value pairs describing the overall status of the control plane:
// - machines is the list of KCP machines; each machine might have additional notes surfacing
// - if the machine has been created in the current reconcile
// - if machines node ref is not yet set
Expand Down
2 changes: 1 addition & 1 deletion controlplane/kubeadm/internal/control_plane_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func TestStatusToLogKeyAndValues(t *testing.T) {

got := c.StatusToLogKeyAndValues(machineJustCreated, machineJustDeleted)

g.Expect(got).To((HaveLen(4)))
g.Expect(got).To(HaveLen(4))
g.Expect(got[0]).To(Equal("machines"))
machines := strings.Join([]string{
"healthy",
Expand Down

0 comments on commit 9d9ab84

Please sign in to comment.