2
2
mirror of https://github.com/octoleo/restic.git synced 2024-10-31 19:02:32 +00:00

Rename chunker so package chunker does not overlap

This commit is contained in:
Alexander Neumann 2014-11-17 23:37:03 +01:00
parent fe92062735
commit 551c7525fe

View File

@ -142,10 +142,10 @@ func (arch *Archiver) SaveFile(node *Node) error {
blobs = Blobs{blob}
} else {
// else store all chunks
chunker := chunker.New(file)
chnker := chunker.New(file)
for {
chunk, err := chunker.Next()
chunk, err := chnker.Next()
if err == io.EOF {
break
}