mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid error log if not found
This commit is contained in:
parent
ba923e2864
commit
9eb2bee86a
|
@ -64,6 +64,9 @@ func (dir *Dir) Attr(context context.Context, attr *fuse.Attr) error {
|
|||
glog.V(1).Infof("read dir %s attr: %v", dir.Path, request)
|
||||
resp, err := client.LookupDirectoryEntry(context, request)
|
||||
if err != nil {
|
||||
if err == filer2.ErrNotFound {
|
||||
return nil
|
||||
}
|
||||
glog.V(0).Infof("read dir %s attr %v: %v", dir.Path, request, err)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue