jianrongzhang89 commented on code in PR #467:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/467#discussion_r1626238104


##########
controllers/profiles/dev/object_creators_dev.go:
##########
@@ -95,7 +96,7 @@ func deploymentMutateVisitor(workflow 
*operatorapi.SonataFlow, plf *operatorapi.
        }
 }
 
-func ensureWorkflowDefConfigMapMutator(workflow *operatorapi.SonataFlow) 
common.MutateVisitor {
+func ensureWorkflowDefConfigMapMutator(workflow *operatorapi.SonataFlow, 
support *common.StateSupport) common.MutateVisitor {

Review Comment:
   Correct. Removed.



##########
controllers/profiles/dev/states_dev.go:
##########
@@ -62,7 +62,7 @@ func (e *ensureRunningWorkflowState) CanReconcile(workflow 
*operatorapi.SonataFl
 func (e *ensureRunningWorkflowState) Do(ctx context.Context, workflow 
*operatorapi.SonataFlow) (ctrl.Result, []client.Object, error) {
        var objs []client.Object
 
-       flowDefCM, _, err := e.ensurers.definitionConfigMap.Ensure(ctx, 
workflow, ensureWorkflowDefConfigMapMutator(workflow))
+       flowDefCM, _, err := e.ensurers.definitionConfigMap.Ensure(ctx, 
workflow, ensureWorkflowDefConfigMapMutator(workflow, e.StateSupport))

Review Comment:
   Done



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to