Skip to content

Commit

Permalink
Update apmpackage/cmd/gen-package/genpipelines.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jalvz authored Dec 4, 2020
1 parent 3a878b7 commit fcb6130
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apmpackage/cmd/gen-package/genpipelines.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func generatePipelines(version, dataStream string) {
// should not happen, lets panic loudly
panic(errors.New("expected pipeline processor"))
}
// name is updated to match the one generated by Fleet when installs the pipelines
p.Pipeline.Name = streamMappings[dataStream] + "-" + version + "-" + p.Pipeline.Name
}
out, err := json.MarshalIndent(apmPipeline, "", " ")
Expand Down

0 comments on commit fcb6130

Please sign in to comment.