Change validate method to work for all storages
This commit is contained in:
parent
c30b8dd1ad
commit
770ac0016e
4 changed files with 11 additions and 16 deletions
|
@ -115,6 +115,8 @@ class LocalStorage(BaseStorageV2):
|
|||
os.remove(content_path)
|
||||
|
||||
def validate(self, client):
|
||||
super(LocalStorage, self).validate()
|
||||
|
||||
# Load the set of disk mounts.
|
||||
try:
|
||||
mounts = psutil.disk_partitions(all=True)
|
||||
|
|
Reference in a new issue