-
Notifications
You must be signed in to change notification settings - Fork 97
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
Refactor the Azure plugin #206
Conversation
e039c2c
to
9586ed2
Compare
69fb023
to
5ab89e1
Compare
Both Kopia repository and Azure plugin need to interact with Azure storage. In order to keep in sync with the new features for both these two places and remove duplicated code, PR vmware-tanzu/velero#6686 makes the common code as util functions in Velero repository. This commit refactors the Azure plugin based on these util functions. Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
5ab89e1
to
b7732e8
Compare
Codecov Report
@@ Coverage Diff @@
## main #206 +/- ##
==========================================
+ Coverage 13.46% 15.92% +2.46%
==========================================
Files 4 3 -1
Lines 698 496 -202
==========================================
- Hits 94 79 -15
+ Misses 601 414 -187
Partials 3 3
|
github.com/stretchr/testify v1.8.2 | ||
github.com/vmware-tanzu/velero v0.0.0-20230727074327-a6d79fc272a2 | ||
github.com/stretchr/testify v1.8.4 | ||
github.com/vmware-tanzu/velero v1.10.0-rc.1.0.20230920021852-d3e5bb745144 |
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.
Is there a reason to reference a Velero RC tag?
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 is generated by go cmd automatically when running go get github.com/vmware-tanzu/velero@main
.
The tag isn't important as this is a pseudo version and we'll update it to the GA version when making the final release
Both Kopia repository and Azure plugin need to interact with Azure storage. In order to keep in sync with the new features for both these two places and remove duplicated code, PR vmware-tanzu/velero#6686 makes the common code as util functions in Velero repository.
This commit refactors the Azure plugin based on these util functions.