You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syncHandler() method of the controller is where the controller reconciles the desired state of ImageCache with actual state. The syncHandler, before starting the reconciliation, updates the status of ImageCache (interim status) to Processing.
The business logic to update the status is currently within the syncHandler() method, with some amount of boiler plate. the logic to construct the status variable is best moved to separate methods of the controller. Proposal is to have two different methods:-
createStatusProcessing() generates the interim status
createStatusFinal() generates the final status
The text was updated successfully, but these errors were encountered:
The syncHandler() method of the controller is where the controller reconciles the desired state of ImageCache with actual state. The syncHandler, before starting the reconciliation, updates the status of ImageCache (interim status) to Processing.
The business logic to update the status is currently within the syncHandler() method, with some amount of boiler plate. the logic to construct the status variable is best moved to separate methods of the controller. Proposal is to have two different methods:-
createStatusProcessing()
generates the interim statuscreateStatusFinal()
generates the final statusThe text was updated successfully, but these errors were encountered: