chaojixinren commented on code in PR #6571:
URL: https://github.com/apache/camel-k/pull/6571#discussion_r3094431812


##########
pkg/controller/integration/integration_controller.go:
##########
@@ -79,6 +79,27 @@ func newReconciler(mgr manager.Manager, c client.Client) 
reconcile.Reconciler {
                        client:   c,
                        scheme:   mgr.GetScheme(),
                        recorder: 
mgr.GetEventRecorder("camel-k-integration-controller"),
+                       syntheticActions: append(
+                               []Action{
+                                       NewPlatformSetupAction(),
+                                       NewInitializeAction(),
+                                       NewBuildAction(),
+                                       newBuildKitAction(),
+                                       NewBuildCompleteAction(),
+                               },
+                               NewMonitorSyntheticAction(),
+                       ),
+                       nonSyntheticActions: append(

Review Comment:
   Done. Renamed to `baseActions` and used it to build both the 
`syntheticActions` and `nonSyntheticActions` slices, eliminating the 
duplication.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to