Skip to content

Commit

Permalink
feat: remove kafka package from utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Jan 9, 2024
1 parent de8ac66 commit 605dc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pipeline/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func sendToPipelineIndividually(ingestionPipelineEndpoint string, resourcesToSen
return nil
}

func SendToPipeline(ingestionPipelineEndpoint string, resourcesToSend []doc.Doc) error {
func SendToPipeline(ingestionPipelineEndpoint string, resourcesToSend []es.Doc) error {
httpClient := &http.Client{Timeout: 10 * time.Second}
if len(resourcesToSend) == 0 {
return nil
Expand Down

0 comments on commit 605dc67

Please sign in to comment.