From d653b15f25d4ae2c7436fcaaf3b7a110d08f4b52 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Thu, 19 Dec 2024 14:14:35 -0500 Subject: [PATCH] Run make -C flytepropelelr lint-fix Signed-off-by: Eduardo Apolinario --- flytepropeller/pkg/controller/nodes/array/event_recorder.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flytepropeller/pkg/controller/nodes/array/event_recorder.go b/flytepropeller/pkg/controller/nodes/array/event_recorder.go index f48ee36bb4..d9feafe950 100644 --- a/flytepropeller/pkg/controller/nodes/array/event_recorder.go +++ b/flytepropeller/pkg/controller/nodes/array/event_recorder.go @@ -143,11 +143,11 @@ func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx inter RetryAttempt: retryAttempt, Phase: taskExecutionEvent.GetPhase(), CacheStatus: cacheStatus, - CustomInfo: taskExecutionEvent.CustomInfo, + CustomInfo: taskExecutionEvent.GetCustomInfo(), } - if taskExecutionEvent.GetMetadata() != nil && len(taskExecutionEvent.GetMetadata().ExternalResources) == 1 { - externalResourceInfo.CustomInfo = taskExecutionEvent.GetMetadata().ExternalResources[0].CustomInfo + if taskExecutionEvent.GetMetadata() != nil && len(taskExecutionEvent.GetMetadata().GetExternalResources()) == 1 { + externalResourceInfo.CustomInfo = taskExecutionEvent.GetMetadata().GetExternalResources()[0].GetCustomInfo() } e.externalResources = append(e.externalResources, &externalResourceInfo)