Change validate method to work for all storages

This commit is contained in:
Joseph Schorr 2016-08-01 17:07:33 -04:00
parent c30b8dd1ad
commit 770ac0016e
4 changed files with 11 additions and 16 deletions

View file

@ -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)