Browse Source

skip creation for root

pull/781/head
Chris Lu 6 years ago
parent
commit
c6b646e92c
  1. 4
      weed/filer2/filer.go

4
weed/filer2/filer.go

@ -56,6 +56,10 @@ func (fs *Filer) KeepConnectedToMaster() {
func (f *Filer) CreateEntry(entry *Entry) error {
if string(entry.FullPath) == "/" {
return nil
}
dirParts := strings.Split(string(entry.FullPath), "/")
// fmt.Printf("directory parts: %+v\n", dirParts)

Loading…
Cancel
Save