slavkap commented on a change in pull request #5544:
URL: https://github.com/apache/cloudstack/pull/5544#discussion_r721600443
##########
File path:
server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java
##########
@@ -304,7 +304,10 @@ public Snapshot revertSnapshot(Long snapshotId) {
SnapshotInfo snapshotInfo = snapshotFactory.getSnapshot(snapshotId,
dataStoreRole);
Review comment:
@sureshanaparti, but there are cases where the method you shared returns
`DataStoreRole.Image`, and the snapshot does not exist on secondary storage.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]