diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-05-21 01:25:30 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-05-21 01:25:30 -0700 |
| commit | 9dd228747cd2f6e7f61168e1f394a320bf542623 (patch) | |
| tree | 9ac2b832099f82310577e494d66991c8d59c177c /weed/filesys/file.go | |
| parent | f07482382b067b84e917e4d1c3581fe1373957de (diff) | |
| download | seaweedfs-9dd228747cd2f6e7f61168e1f394a320bf542623.tar.xz seaweedfs-9dd228747cd2f6e7f61168e1f394a320bf542623.zip | |
filer copy added uid/gid
Diffstat (limited to 'weed/filesys/file.go')
| -rw-r--r-- | weed/filesys/file.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filesys/file.go b/weed/filesys/file.go index d4a9c8b05..81dcba0d9 100644 --- a/weed/filesys/file.go +++ b/weed/filesys/file.go @@ -44,13 +44,13 @@ func (file *File) Attr(context context.Context, attr *fuse.Attr) error { } else { err := file.wfs.withFilerClient(func(client filer_pb.SeaweedFilerClient) error { - request := &filer_pb.GetFileAttributesRequest{ + request := &filer_pb.GetEntryAttributesRequest{ Name: file.Name, ParentDir: file.dir.Path, } glog.V(1).Infof("read file size: %v", request) - resp, err := client.GetFileAttributes(context, request) + resp, err := client.GetEntryAttributes(context, request) if err != nil { glog.V(0).Infof("read file attributes %v: %v", request, err) return err |
