Rename chunker so package chunker does not overlap
This commit is contained in:
parent
fe92062735
commit
551c7525fe
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue