Skip to content

Commit

Permalink
Simplify machine reconciliation context into a single data structure
Browse files Browse the repository at this point in the history
The base and machine reconciliation contexts were confusing and
indicative of a hierarchical relationship. This change simplifies the 2
data structures into a single machineReconcileScope data structure.

The root TinkerbellMachineController is now responsible for correctly
constructing the scope object before calling its Reconcile() function.
This reduces the reconciliation complexity.

Signed-off-by: Chris Doherty <chris.doherty4@gmail.com>
  • Loading branch information
chrisdoherty4 committed Aug 20, 2023
1 parent 424e344 commit 722b63a
Show file tree
Hide file tree
Showing 6 changed files with 1,153 additions and 1,215 deletions.
Loading

0 comments on commit 722b63a

Please sign in to comment.