Skip to content

Commit

Permalink
Merge pull request #700 from pachyderm/silence_fuse_errors
Browse files Browse the repository at this point in the history
Don't log errors when files aren't found.
  • Loading branch information
jdoliner committed Aug 15, 2016
2 parents 7dca5a5 + cac7a25 commit b1e70fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/pfs/fuse/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (d *directory) Attr(ctx context.Context, a *fuse.Attr) (retErr error) {

func (d *directory) Lookup(ctx context.Context, name string) (result fs.Node, retErr error) {
defer func() {
if retErr == nil {
if retErr == nil || retErr == fuse.ENOENT {
protolion.Debug(&DirectoryLookup{&d.Node, name, getNode(result), errorToString(retErr)})
} else {
protolion.Error(&DirectoryLookup{&d.Node, name, getNode(result), errorToString(retErr)})
Expand Down

0 comments on commit b1e70fa

Please sign in to comment.