New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skipping validation for volumesnapshotlocation for backup if snapshotvolume set to false #2450
Conversation
…pshotvolume set to false Signed-off-by: mayank <mayank.patel@mayadata.io>
Signed-off-by: mayank <mayank.patel@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one minor comment suggesting to use some of the helper functions that we have.
Signed-off-by: mayank <mayank.patel@mayadata.io>
Hi @ashish-amarnath |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems reasonable to me. Thanks for adding the test cases!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Changes:
validateAndGetSnapshotLocations
skip validating VSL and returns empty VSL list with success.Existing behavior:
FailedValidation
.If one wants to use restic for the volume backup then he/she doesn't need to provide VSL for the backup.
Signed-off-by: mayank mayank.patel@mayadata.io