chrislusf 10 years ago
parent
commit
320e946d50
  1. 2
      go/storage/volume.go

2
go/storage/volume.go

@ -153,7 +153,7 @@ func (v *Volume) NeedToReplicate() bool {
// It requires serialized access in the same volume. // It requires serialized access in the same volume.
func (v *Volume) isFileUnchanged(n *Needle) bool { func (v *Volume) isFileUnchanged(n *Needle) bool {
if v.Ttl.String() != "" { if v.Ttl.String() != "" {
return true
return false
} }
nv, ok := v.nm.Get(n.Id) nv, ok := v.nm.Get(n.Id)
if ok && nv.Offset > 0 { if ok && nv.Offset > 0 {

Loading…
Cancel
Save