Github user koushik-das commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1727#discussion_r95517522 --- Diff: server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java --- @@ -643,6 +679,65 @@ else if (jobResult instanceof Throwable) } } + /** + * If snapshot was taken with a different service offering than actual used in vm, should change it back to it + * @param userVm vm to change service offering (if necessary) + * @param vmSnapshotVo vm snapshot + */ + private void updateUserVmServiceOffering(UserVm userVm, VMSnapshotVO vmSnapshotVo) { + if (vmSnapshotVo.getServiceOfferingId() != userVm.getServiceOfferingId()) { + changeUserVmServiceOffering(userVm, vmSnapshotVo); + } + } + + /** + * Get user vm details as a map + * @param userVm user vm + * @return map + */ + private Map<String, String> getVmMapDetails(UserVm userVm) { --- End diff -- Is this used anywhere?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---