bug fixing getDiskUsage

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@181856 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-09-26 09:04:03 +00:00
parent ecf5bb0950
commit 2410fc6911
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ public final class WorkspaceStorageHubClientService implements Workspace{
@Override
public long getDiskUsage() throws Exception{
try{
return storageHubClientService.getTotalItems();
return storageHubClientService.getDiskUsage();
}catch(Exception e){
String error = "Error on getting disk usage: ";
LOGGER.error(error,e);