ricardozanini commented on code in PR #415:
URL:
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/415#discussion_r1511664290
##########
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:
I'm wondering if we can reuse the platform we already get in the
states/reconciliation. But it's a nit; I think the PR is fine. 👍
--
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]