-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add conversion from s3Compliant type to s3 type #1883
Conversation
Thanks for submitting this pull request 🎉. The team will review it soon and get back to you. If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document. |
if locType == LocType(v1alpha1.LocationTypeS3Compliant) { | ||
m[typeKey] = []byte(LocTypeS3) | ||
} |
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.
what is the value of locType
in case of the if statement? is it not LocTypeS3 already?
LGTM
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.
For Kanister profiles, it's s3Compliant
while we have s3
as value of LocTypeS3.
Change Overview
This PR adds conversion from s3Compliant type to s3. For cases with kanister profiles, the profile type is still "s3Compliant". Since for kopia, the s3Compliant type is same as s3, this PR adds the necessary conversion in the utility.
Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan