tchughesiv commented on code in PR #415:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/415#discussion_r1511683050


##########
controllers/profiles/common/reconciler.go:
##########
@@ -46,7 +48,12 @@ type StateSupport struct {
 // PerformStatusUpdate updates the SonataFlow Status conditions
 func (s StateSupport) PerformStatusUpdate(ctx context.Context, workflow 
*operatorapi.SonataFlow) (bool, error) {
        var err error
+       pl, err := platform.GetActivePlatform(ctx, s.C, workflow.Namespace)

Review Comment:
   the problem is that half of the profile/state reconciles are not 
using/retrieving the active platform. i thought it was cleaner to add it once 
here, rather than several other locations.



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