Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
butonic authored Mar 30, 2021
1 parent a146283 commit 42e0c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/utils/decomposedfs/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func ReadNode(ctx context.Context, lu PathLookup, id string) (n *Node, err error
return
}

// The os not exists error is buried inside the fs.PathError error
// The os error is buried inside the fs.PathError error
func isNotDir(err error) bool {
if perr, ok := err.(*fs.PathError); ok {
if serr, ok2 := perr.Err.(syscall.Errno); ok2 {
Expand Down

0 comments on commit 42e0c8a

Please sign in to comment.