Browse Source

Merge branch 'master' into messaging

pull/3379/head
chrislu 2 years ago
parent
commit
f5a76f67c1
  1. 5
      weed/filer/read_write.go

5
weed/filer/read_write.go

@ -2,9 +2,10 @@ package filer
import (
"bytes"
"time"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/wdclient"
"time"
)
func ReadEntry(masterClient *wdclient.MasterClient, filerClient filer_pb.SeaweedFilerClient, dir, name string, byteBuffer *bytes.Buffer) error {
@ -60,7 +61,7 @@ func SaveInsideFiler(client filer_pb.SeaweedFilerClient, dir, name string, conte
},
Content: content,
},
SkipCheckParentDirectory: true,
SkipCheckParentDirectory: false,
})
} else if err == nil {
entry := resp.Entry

Loading…
Cancel
Save