diff --git a/flyteidl2/workflow/run_definition.proto b/flyteidl2/workflow/run_definition.proto index 604cf569de..2c3168d302 100644 --- a/flyteidl2/workflow/run_definition.proto +++ b/flyteidl2/workflow/run_definition.proto @@ -185,7 +185,7 @@ message ActionMetadata { string environment_name = 12; // Function name - string funtion_name = 13; + string function_name = 13; // Trigger name string trigger_name = 14; diff --git a/runs/service/run_service.go b/runs/service/run_service.go index 57fa5c8f0d..30787d959e 100644 --- a/runs/service/run_service.go +++ b/runs/service/run_service.go @@ -1530,8 +1530,8 @@ func setActionDetailsSpecFromActionSpec(details *workflow.ActionDetails, actionS // actionMetadataFromModel builds an ActionMetadata proto from DB model columns. func actionMetadataFromModel(action *models.Action) *workflow.ActionMetadata { metadata := &workflow.ActionMetadata{ - ActionType: workflow.ActionType(action.ActionType), - FuntionName: action.FunctionName, + ActionType: workflow.ActionType(action.ActionType), + FunctionName: action.FunctionName, } if action.ParentActionName.Valid { metadata.Parent = action.ParentActionName.String @@ -1829,7 +1829,7 @@ func (s *RunService) convertNodeUpdateToEnrichedProto( // No-op, this should never happen. } - metadata.FuntionName = action.FunctionName + metadata.FunctionName = action.FunctionName metadata.Source = workflow.RunSource(workflow.RunSource_value[action.RunSource]) if action.TriggerName.Valid {