mirror of https://github.com/apache/cloudstack.git
bug 13362: fix error message in StorageManagerImpl.java
This commit is contained in:
parent
1658a75a72
commit
46c0024a34
|
|
@ -1534,10 +1534,10 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
|||
_storagePoolDao.expunge(pool.getId());
|
||||
String msg = "";
|
||||
if (answer != null) {
|
||||
msg = "Can not create strorage pool through host " + hostId + " due to " + answer.getDetails();
|
||||
msg = "Can not create storage pool through host " + hostId + " due to " + answer.getDetails();
|
||||
s_logger.warn(msg);
|
||||
} else {
|
||||
msg = "Can not create strorage pool through host " + hostId + " due to CreateStoragePoolCommand returns null";
|
||||
msg = "Can not create storage pool through host " + hostId + " due to CreateStoragePoolCommand returns null";
|
||||
s_logger.warn(msg);
|
||||
}
|
||||
throw new CloudRuntimeException(msg);
|
||||
|
|
|
|||
Loading…
Reference in New Issue