Skip to content

Commit

Permalink
switch order
Browse files Browse the repository at this point in the history
Signed-off-by: Xudong Sun <[email protected]>
  • Loading branch information
marshtompsxd committed Oct 7, 2024
1 parent c97e195 commit c6a9771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v2/kubernetes_cluster/spec/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ impl Cluster {
let controller_and_external_state = s.controller_and_externals[controller_id];
let controller_and_external_state_prime = ControllerAndExternalState {
controller: ControllerState {
ongoing_reconciles: Map::<ObjectRef, OngoingReconcile>::empty(),
scheduled_reconciles: Map::<ObjectRef, DynamicObjectView>::empty(),
ongoing_reconciles: Map::<ObjectRef, OngoingReconcile>::empty(),
},
..controller_and_external_state
};
Expand Down
2 changes: 1 addition & 1 deletion src/v2/kubernetes_cluster/spec/controller/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ pub open spec fn controller(model: ReconcileModel, controller_id: int) -> Contro
StateMachine {
init: |s: ControllerState| {
s == ControllerState {
ongoing_reconciles: Map::<ObjectRef, OngoingReconcile>::empty(),
scheduled_reconciles: Map::<ObjectRef, DynamicObjectView>::empty(),
ongoing_reconciles: Map::<ObjectRef, OngoingReconcile>::empty(),
}
},
actions: set![
Expand Down

0 comments on commit c6a9771

Please sign in to comment.