mirror of https://github.com/apache/cloudstack.git
Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorPrimaryDataStoreLifeCycle.java
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes #503
This commit is contained in:
parent
a17852aaf4
commit
b929db1f1a
|
|
@ -563,7 +563,7 @@ public class ElastistorPrimaryDataStoreLifeCycle implements PrimaryDataStoreLife
|
|||
|
||||
if(updateTsmStorageCmdResponse.getStorage().getId() != null){
|
||||
// update the cloudstack db
|
||||
_storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.valueOf(capacityBytes));
|
||||
_storagePoolDao.updateCapacityBytes(storagePool.getId(), Long.parseLong(capacityBytes));
|
||||
|
||||
s_logger.info("elastistor TSM storage successfully updated");
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Reference in New Issue