xl: Fix isObject() to consider not found disks (#8411)
xl.isObject() returns 'nil' for not found disks when calculating the existance of xl.json for a given object, which what StatFile() is also doing (setting nil) if xl.json exists. This commit avoids this confusion by setting errDiskNotFound error when the storage disk is not found.master
parent
140a7eadb4
commit
7bf093c06a
Loading…
Reference in new issue