Skip to content
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-overlayfs: filter option "io.katacontainers.volume" #1418

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

jiangliu
Copy link
Collaborator

@jiangliu jiangliu commented Sep 6, 2023

Filter mount option "io.katacontainers.volume", which is a superset of "extraoptions".

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@jiangliu jiangliu requested a review from a team as a code owner September 6, 2023 03:37
@jiangliu jiangliu requested review from liubogithub, imeoer and adamqqqplay and removed request for a team September 6, 2023 03:37
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #1418 (9a6d3a9) into master (1d93f12) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1418      +/-   ##
==========================================
- Coverage   46.45%   46.44%   -0.02%     
==========================================
  Files         123      123              
  Lines       38643    38643              
  Branches    38643    38643              
==========================================
- Hits        17952    17947       -5     
- Misses      19718    19722       +4     
- Partials      973      974       +1     

see 4 files with indirect coverage changes

@@ -13,7 +13,8 @@ import (
)

const (
extraOptionKey = "extraoption="
extraOptionKey = "extraoption="
kataVolumeOptionKey = "io.katacontainers.volume="
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can add some comments to explain why we ignore the option key here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm confused too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filter mount option "io.katacontainers.volume", which is a superset
of "extraoptions".

Signed-off-by: Jiang Liu <[email protected]>
@imeoer imeoer merged commit 919e8ac into dragonflyoss:master Sep 6, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants