-
Notifications
You must be signed in to change notification settings - Fork 78
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 test case for storage/blob/s3/writer/option
#656
Merged
+441
−438
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
cffbece
feat: add test and new validation logic
hlts2 eeb5187
fix: const value
hlts2 14e33c0
feat: add ignore options for goleak
hlts2 6e9193e
fix: apply suggestion
hlts2 38c75ea
feat: error for option
hlts2 886c1eb
feat: add option error
hlts2 df605ab
fix: guideline
hlts2 d80cf50
fix: lint error
hlts2 681e762
Update docs/contributing/coding-style.md
hlts2 cc1e82a
Update docs/contributing/coding-style.md
hlts2 37a063f
Update docs/contributing/coding-style.md
hlts2 722f331
Update docs/contributing/coding-style.md
hlts2 a091f26
Update docs/contributing/coding-style.md
hlts2 f7e6b60
feat: add option error type
hlts2 57c4458
Update docs/contributing/coding-style.md
hlts2 0676c64
Update docs/contributing/coding-style.md
hlts2 29c6c41
feat: add test case
hlts2 41057ca
Update internal/db/storage/blob/s3/writer/option_test.go
hlts2 fb2d59c
fix: apply suggestion
hlts2 78db402
:robot: Update license headers / Format go codes and yaml files
vdaas-ci File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
LGTM, one point, It would be better to write about option load loop error handling using
errors.ErrOptionFailed
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.
Thank you for your review.
I think so too.
But regarding error handling, I think it is better to add it to the proposal's PR because there is a possibility that it will change when the proposal is applied. 🤔
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 understand about it, but we should write current error handling use case first, after proposal approved you should fix it
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.
It's not so difficult.
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.
thank you for your opinion.
I will add it to this PR soon