From 4003ad1da49d731e8c66f639392e758c348813ee Mon Sep 17 00:00:00 2001 From: Daniel Rammer Date: Thu, 2 Nov 2023 16:02:38 -0500 Subject: [PATCH] readded task execution id verification Signed-off-by: Daniel Rammer --- flyteadmin/pkg/manager/impl/task_execution_manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flyteadmin/pkg/manager/impl/task_execution_manager.go b/flyteadmin/pkg/manager/impl/task_execution_manager.go index 2df0348905..82b872dbd4 100644 --- a/flyteadmin/pkg/manager/impl/task_execution_manager.go +++ b/flyteadmin/pkg/manager/impl/task_execution_manager.go @@ -295,9 +295,9 @@ func (m *TaskExecutionManager) ListTaskExecutions( func (m *TaskExecutionManager) GetTaskExecutionData( ctx context.Context, request admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) { - /*if err := validation.ValidateTaskExecutionIdentifier(request.Id); err != nil { + if err := validation.ValidateTaskExecutionIdentifier(request.Id); err != nil { logger.Debugf(ctx, "Invalid identifier [%+v]: %v", request.Id, err) - }*/ + } ctx = getTaskExecutionContext(ctx, request.Id) taskExecution, err := m.GetTaskExecution(ctx, admin.TaskExecutionGetRequest{ Id: request.Id,