Browse Source

fix possible error case

pull/2348/head
Chris Lu 3 years ago
parent
commit
040443e2d1
  1. 2
      weed/filer/filer_notify_append.go

2
weed/filer/filer_notify_append.go

@ -33,6 +33,8 @@ func (f *Filer) appendToFile(targetFile string, data []byte) error {
Gid: OS_GID,
},
}
} else if err != nil {
return fmt.Errorf("find %s: %v", fullpath, err)
} else {
offset = int64(TotalSize(entry.Chunks))
}

Loading…
Cancel
Save