-
Notifications
You must be signed in to change notification settings - Fork 214
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
nydus-image:optimize chunkdict save #1430
nydus-image:optimize chunkdict save #1430
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1430 +/- ##
==========================================
- Coverage 46.46% 46.44% -0.02%
==========================================
Files 123 123
Lines 38643 38640 -3
Branches 38643 38640 -3
==========================================
- Hits 17954 17947 -7
- Misses 19716 19719 +3
- Partials 973 974 +1
|
Refactor the Deduplicate implementation to only initialize config when inserting chunk data. Simplify code for better maintainability. Signed-off-by: Lin Wang <l.wang@mail.dlut.edu.cn>
8054586
to
d28bbb5
Compare
@@ -399,7 +398,7 @@ fn prepare_cmd_args(bti_string: &'static str) -> App { | |||
) | |||
.arg(arg_output_json.clone()) | |||
) | |||
); | |||
); |
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.
Can't believe that cargo fmt didn't find this...
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 seems cargo fmt
is broken from L164. 😂
Relevant Issue (if applicable)
If there are Issues related to this PullRequest, please list it.
Details
Refactor the Deduplicate implementation to only
initialize config when inserting chunk data.
Simplify code for better maintainability.
Types of changes
What types of changes does your PullRequest introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply.