Skip to content

Commit cadd3a2

Browse files
committed
cmd/continuity/continuityfs: SA1019: fuse.ENOENT is deprecated
Error: continuityfs/fuse.go:200:15: SA1019: fuse.ENOENT is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck) return nil, fuse.ENOENT ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 38fcdae commit cadd3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/continuity/continuityfs/fuse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ type direnter interface {
197197
func (d *Dir) Lookup(ctx context.Context, name string) (fs.Node, error) {
198198
node, ok := d.nodes[name]
199199
if !ok {
200-
return nil, fuse.ENOENT
200+
return nil, syscall.ENOENT
201201
}
202202
return node, nil
203203
}

0 commit comments

Comments
 (0)