This commit is contained in:
Edison Su 2011-08-19 16:15:13 -07:00
parent 7ccc833114
commit 7a7662b01b
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
}
// Check that the volume is stored on shared storage
if (!(Volume.State.Allocated.equals(volume.getState()) && !_storageMgr.volumeOnSharedStoragePool(volume))) {
if (!(Volume.State.Allocated.equals(volume.getState())) && !_storageMgr.volumeOnSharedStoragePool(volume)) {
throw new InvalidParameterValueException("Please specify a volume that has been created on a shared storage pool.");
}