From 27f7c4d32a9649fdcacaf04788871fa9f77e0863 Mon Sep 17 00:00:00 2001 From: artaasadi Date: Wed, 18 Dec 2024 14:10:27 +0100 Subject: [PATCH 1/2] fix: add task request --- pkg/tasks/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tasks/types.go b/pkg/tasks/types.go index 0e6042e..a92280b 100644 --- a/pkg/tasks/types.go +++ b/pkg/tasks/types.go @@ -10,7 +10,7 @@ type TaskRequest struct { IngestionPipelineEndpoint string `json:"ingestionPipelineEndpoint"` UseOpenSearch bool `json:"useOpenSearch"` - DescribeJob TaskDefinition `json:"describeJob"` + TaskDefinition TaskDefinition `json:"taskDefinition"` ExtraInputs map[string][]string `json:"extraInputs"` } From 1bd4890359f31b96c2980f90d4f48b5412751463 Mon Sep 17 00:00:00 2001 From: artaasadi Date: Wed, 18 Dec 2024 14:10:37 +0100 Subject: [PATCH 2/2] fix: add task request --- pkg/tasks/types.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/tasks/types.go b/pkg/tasks/types.go index a92280b..d52a1be 100644 --- a/pkg/tasks/types.go +++ b/pkg/tasks/types.go @@ -14,6 +14,3 @@ type TaskRequest struct { ExtraInputs map[string][]string `json:"extraInputs"` } - -type TaskResponse struct { -}