From 0f870478670e40407f0a0dce848c2c7e35960e5f Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Thu, 27 Feb 2025 11:04:02 -0500 Subject: [PATCH] Remove extraneous type conversion Signed-off-by: Eduardo Apolinario --- flytepropeller/pkg/controller/nodes/array/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytepropeller/pkg/controller/nodes/array/handler_test.go b/flytepropeller/pkg/controller/nodes/array/handler_test.go index 8e69fb9641..a45c0a5852 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler_test.go +++ b/flytepropeller/pkg/controller/nodes/array/handler_test.go @@ -948,7 +948,7 @@ func TestHandleArrayNodePhaseExecuting(t *testing.T) { Phase: transitionPhase, } - err := executionContext.(interfaces.NodeExecutionContext).EventsRecorder().RecordTaskEvent(ctx, taskExecutionEvent, &config.EventConfig{}) + err := executionContext.EventsRecorder().RecordTaskEvent(ctx, taskExecutionEvent, &config.EventConfig{}) assert.NoError(t, err) }, ).Return(transition, nil)