Skip to content

Commit

Permalink
cephfs: close dir
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
  • Loading branch information
testwill authored and mergify[bot] committed May 27, 2024
1 parent 822794c commit 9574fa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/cephfs/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ func getBackingSnapshotRoot(

return "", status.Errorf(codes.Internal, err.Error())
}
defer dir.Close()

// Read the contents of <root path>/.snap directory into a string slice.

Expand Down

0 comments on commit 9574fa8

Please sign in to comment.