Skip to content

Commit

Permalink
fix WriteDataflow to use fs props
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Oct 24, 2024
1 parent 90f3f7f commit 6d63a1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/dbio/filesys/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,10 @@ func WriteDataflow(fs FileSysClient, df *iop.Dataflow, url string) (bw int64, er
}
}()

return fs.Self().WriteDataflowReady(df, url, fileReadyChn, df.StreamConfig())
sp := iop.NewStreamProcessor()
sp.SetConfig(fs.Client().Props())

return fs.Self().WriteDataflowReady(df, url, fileReadyChn, sp.Config)
}

// GetReaders returns one or more readers from specified paths in specified FileSysClient
Expand Down

0 comments on commit 6d63a1d

Please sign in to comment.