Spaceman1984 commented on a change in pull request #4640: URL: https://github.com/apache/cloudstack/pull/4640#discussion_r571964373
########## File path: server/src/main/java/com/cloud/storage/StorageManagerImpl.java ########## @@ -2331,6 +2336,17 @@ public ImageStore updateImageStoreStatus(Long id, Boolean readonly) { return imageStoreVO; } + @Override + public void syncHardwareCapability(long poolId) { + StoragePoolVO pool = _storagePoolDao.findById(poolId); + // find the host + List<StoragePoolHostVO> hosts = _storagePoolHostDao.listByPoolId(poolId); + if (hosts.size() > 0) { + StoragePoolHostVO host = hosts.get(0); + _agentMgr.easySend(host.getHostId(), new ModifyStoragePoolCommand(false, pool)); Review comment: Done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org