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:
parent
fe92062735
commit
551c7525fe
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user