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
|
@Override
|
||||||
public long getDiskUsage() throws Exception{
|
public long getDiskUsage() throws Exception{
|
||||||
try{
|
try{
|
||||||
return storageHubClientService.getTotalItems();
|
return storageHubClientService.getDiskUsage();
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
String error = "Error on getting disk usage: ";
|
String error = "Error on getting disk usage: ";
|
||||||
LOGGER.error(error,e);
|
LOGGER.error(error,e);
|
||||||
|
|
Loading…
Reference in New Issue