Tonitzpp opened a new pull request, #12462: URL: https://github.com/apache/cloudstack/pull/12462
### Description Currently, when trying to download a snapshot that is in primary storage, the error message `Snapshot not found` is shown, which may lead users into thinking that the snapshot does not exist in any storage anymore. This PR changes the message to `Snapshot not found in any secondary storage. The snapshot may be on primary storage, where it cannot be downloaded`. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [X] Cleanup (Code refactoring and cleanup, that may add test cases) - [ ] Build/CI - [ ] Test (unit or integration test code) #### Feature/Enhancement Scale - [ ] Major - [X] Minor ### How Has This Been Tested? A VM was created to perform the tests. After that `Global Settings` tab was accessed and the configuration `snapshot.backup.to.secondary` was set to `false`. After this change, I took a volume snapshot and tried to download it, and it was possible to validate that the shown message was changed. -- 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]
