bug 13362: fix error message in StorageManagerImpl.java

This commit is contained in:
Jessica Wang 2012-02-01 15:49:06 -08:00
parent 1658a75a72
commit 46c0024a34
1 changed files with 2 additions and 2 deletions

View File

@ -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);