mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
parent
4cc1b7f42c
commit
32e12abb43
@ -469,8 +469,8 @@ func (t readWriteTransaction) putFile(key []byte, fi protocol.FileInfo) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
} else if fi.BlocksHash != nil {
|
} else if fi.BlocksHash != nil {
|
||||||
l.Warnln("Blocks is nil, but BlocksHash is not for file", fi)
|
l.Debugln("Blocks is nil, but BlocksHash is not for file", fi)
|
||||||
panic("Blocks is nil, but BlocksHash is not")
|
fi.BlocksHash = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
fi.Blocks = nil
|
fi.Blocks = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user