dmartinol commented on code in PR #367:
URL:
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/367#discussion_r1469204793
##########
controllers/profiles/common/ensurer.go:
##########
@@ -34,7 +34,7 @@ var _ ObjectEnsurer = &defaultObjectEnsurer{}
var _ ObjectEnsurer = &noopObjectEnsurer{}
type ObjectEnsurer interface {
- Ensure(ctx context.Context, workflow *operatorapi.SonataFlow, visitors
...MutateVisitor) (client.Object, controllerutil.OperationResult, error)
+ Ensure(ctx context.Context, workflow *operatorapi.SonataFlow, platform
*operatorapi.SonataFlowPlatform, visitors ...MutateVisitor) (client.Object,
controllerutil.OperationResult, error)
Review Comment:
Added `ObjectEnsurerWithPlatform` to accomodate the latest proposal of using
a specific creation function and ensurer only for selected resources
--
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]