Merge pull request #270 from harshavardhana/pr_out_remove_redundant_uint32

master
Harshavardhana 10 years ago
commit af3037457c
  1. 2
      pkg/storage/donut/erasure/erasure1/erasure.go

@ -89,7 +89,7 @@ func Write(target io.Writer, key string, part uint8, length uint32, k, m uint8,
encoder.Encode(header)
// write version
binary.Write(target, binary.LittleEndian, uint32(Version))
binary.Write(target, binary.LittleEndian, Version)
// write encoded header
if _, err := io.Copy(target, &headerBuffer); err != nil {

Loading…
Cancel
Save