Skip to content

Commit

Permalink
fix(ingest-pipeline): use correct schema in GET
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroche committed Jun 26, 2019
1 parent e233dcf commit ba08bbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ingest_get_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ func (s *IngestGetPipelineService) Do(ctx context.Context) (IngestGetPipelineRes
type IngestGetPipelineResponse map[string]*IngestGetPipeline

type IngestGetPipeline struct {
ID string `json:"id"`
Config map[string]interface{} `json:"config"`
Description string `json:"description"`
Version int `json:"version,omitempty"`
Processors []map[string]interface{} `json:"processors"`
}

0 comments on commit ba08bbc

Please sign in to comment.