Skip to content

Commit

Permalink
comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vincepri authored Mar 1, 2019
1 parent 2effc76 commit 3b1aa7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/machineset/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (r *ReconcileMachineSet) Reconcile(request reconcile.Request) (reconcile.Re
continue
}

// Attempt to adopt machine if it meets previous conditions and it has no ownerReferences.
// Attempt to adopt machine if it meets previous conditions and it has no controller references.
if metav1.GetControllerOf(machine) == nil {
if err := r.adoptOrphan(machineSet, machine); err != nil {
klog.Warningf("Failed to adopt MachineSet %q into MachineSet %q: %v", machine.Name, machineSet.Name, err)
Expand Down

0 comments on commit 3b1aa7e

Please sign in to comment.