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:
parent
ecf5bb0950
commit
2410fc6911
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue