Skip to content

Commit

Permalink
fix: split cmd pipelineBuilder call
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Dec 20, 2023
1 parent 7ed51db commit 2306fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bee/cmd/split.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type pipelineFunc func(context.Context, io.Reader) (swarm.Address, error)

func requestPipelineFn(s storage.Putter, encrypt bool) pipelineFunc {
return func(ctx context.Context, r io.Reader) (swarm.Address, error) {
pipe := builder.NewPipelineBuilder(ctx, s, encrypt)
pipe := builder.NewPipelineBuilder(ctx, s, encrypt, 0)
return builder.FeedPipeline(ctx, pipe, r)
}
}
Expand Down

0 comments on commit 2306fb0

Please sign in to comment.