-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat: add support for archive snapshot type #173
feat: add support for archive snapshot type #173
Conversation
9733336
to
ed76a6c
Compare
Signed-off-by: Oula Kuuva <[email protected]>
ba70229
to
b70c48f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #173 +/- ##
==========================================
+ Coverage 29.15% 29.73% +0.58%
==========================================
Files 3 3
Lines 518 528 +10
==========================================
+ Hits 151 157 +6
- Misses 355 359 +4
Partials 12 12 ☔ View full report in Codecov by Sentry. |
@okuuva I just opened a draft PR in this repo that solves the same problem and saw yours :) Great job! |
@okuuva Two places may need the snapshot type. velero-plugin-for-gcp/velero-plugin-for-gcp/volume_snapshotter.go Lines 302 to 306 in a450b02
velero-plugin-for-gcp/velero-plugin-for-gcp/volume_snapshotter.go Lines 326 to 330 in a450b02
|
Thanks!
Hmmh, where did you get the v0.63.0? To me it seems like it's currently sitting at v0.143.0 which isn't the latest but does include the SnapshotType property. I personally try to separate version bumps from functional changes unless they're absolutely necessary. While bumping both the SDK version and Go version are probably a good idea I'd do those in separate PR(s). |
...well, that was an awkward oversight from my part 😅 Fixed it now, thanks! |
@okuuva nevermind, it seems my fork was outdated, it's 0.143.0 in the main branch and it would work without any modification. |
@okuuva |
How I managed to mess it up and not run gofmt, I don't know. Signed-off-by: Oula Kuuva <[email protected]>
Oopsie daisie. Signed-off-by: Oula Kuuva <[email protected]>
a58dbc0
to
bfe0ef1
Compare
@blackpiglet what release version can we expect this fix to be a part of? |
This plugin will be shipped with Velero v1.14.0; the version should be v1.10.0. |
Fixes vmware-tanzu/velero#7371.
Signed-off-by: Oula Kuuva [email protected]