sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900340965
##########
plugins/storage/volume/adaptive/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/AdaptiveDataStoreLifeCycleImpl.java:
##########
@@ -272,13 +273,13 @@ public boolean attachCluster(DataStore store,
ClusterScope scope) {
List<HostVO> allHosts = _resourceMgr.listAllUpHosts(Host.Type.Routing,
primarystore.getClusterId(), primarystore.getPodId(),
primarystore.getDataCenterId());
if (allHosts.isEmpty()) {
_primaryDataStoreDao.expunge(primarystore.getId());
- throw new CloudRuntimeException("No host up to associate a storage
pool with in cluster " + primarystore.getClusterId());
+ throw new CloudRuntimeException(String.format("No host up to
associate a storage pool with in cluster %s", cluster));
}
if (dataStoreVO.isManaged()) {
//boolean success = false;
for (HostVO h : allHosts) {
Review Comment:
_h => host_
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]