mirror of https://github.com/apache/cloudstack.git
Merging #660 (Mike Tutkowski) (Retrieve a new device ID, if needed)
* pr/#660: CLOUDSTACK-8698: Retrieve a new device ID, if needed Signed-off-by: Mike Tutkowski (mike.tutkowski@solidfire.com) Signed-off-by: Mike Tutkowski <mike.tutkowski@solidfire.com>
This commit is contained in:
commit
a5e563aa85
|
|
@ -2469,6 +2469,8 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
|
|||
_volsDao.update(volumeToAttach.getId(), volumeToAttach);
|
||||
}
|
||||
} else {
|
||||
deviceId = getDeviceId(vm.getId(), deviceId);
|
||||
|
||||
_volsDao.attachVolume(volumeToAttach.getId(), vm.getId(), deviceId);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue