CLOUDSTACK-2701 - Enable storage migration for VMware resources

Whitespace cleanup

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>

CLOUDSTACK-2701 - Enable storage migration for VMware resources

Removing injections which are not required in Vmware Manager
This commit is contained in:
Sateesh Chodapuneedi 2013-05-30 16:47:54 +05:30
parent f24e81fe0d
commit 51996094ff
2 changed files with 2 additions and 5 deletions

View File

@ -159,9 +159,6 @@ public class VmwareManagerImpl extends ManagerBase implements VmwareManager, Vmw
@Inject VmwareDatacenterDao _vmwareDcDao;
@Inject VmwareDatacenterZoneMapDao _vmwareDcZoneMapDao;
@Inject LegacyZoneDao _legacyZoneDao;
@Inject VMInstanceDao _vmDao;
@Inject VolumeDao _volDao;
@Inject DataStoreManager dataStoreMgr;
String _mountParent;
StorageLayer _storage;

View File

@ -133,8 +133,8 @@ public class VmwareStorageMotionStrategy implements DataMotionStrategy {
}
// Migration across cluster needs to be done in three phases.
// 1. Send a migrate command to source resource to initiate migration
// Run validations against target!!
// 1. Send a migrate command to source resource to initiate migration
// Run validations against target!!
// 2. Complete the process. Update the volume details.
MigrateWithStorageCommand migrateWithStorageCmd = new MigrateWithStorageCommand(to, volumeToFilerto, destHost.getGuid());
MigrateWithStorageAnswer migrateWithStorageAnswer = (MigrateWithStorageAnswer) agentMgr.send(