Re-order rac.ChunkWriter.AddChunk args

This commit is contained in:
Nigel Tao committed 2019-08-09 15:21:44 +10:00
1 parent 706e7a2474
commit a61d735d54
4 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -343,8 +343,8 @@ func (w *ChunkWriter) AddResource(resource []byte) (OptResource, error) {
//
// The caller may modify primary's contents after this method returns.
func (w *ChunkWriter) AddChunk(
dRangeSize uint64, primary []byte,
secondary OptResource, tertiary OptResource, codec Codec) error {
dRangeSize uint64, codec Codec, primary []byte,
secondary OptResource, tertiary OptResource) error {
if dRangeSize == 0 {
return nil