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

Fix mountpoint multiple match #42

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

coco-roll
Copy link

When use make test base on this case
8 5 0:7 /docker /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,memory 9 5 0:8 /docker/memory.vmstat /sys/fs/cgroup/vmstat rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,memory
been failed.

Because it's match multiple target,cannot uniquely match

@CLAassistant
Copy link

CLAassistant commented Aug 5, 2021

CLA assistant check
All committers have signed the CLA.

@coco-roll
Copy link
Author

fix #41

@codecov
Copy link

codecov bot commented Aug 13, 2021

Codecov Report

Merging #42 (57563fa) into master (0180b04) will decrease coverage by 1.06%.
Report is 23 commits behind head on master.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   92.07%   91.01%   -1.06%     
==========================================
  Files           8        8              
  Lines         164      167       +3     
==========================================
+ Hits          151      152       +1     
- Misses         10       11       +1     
- Partials        3        4       +1     
Files Coverage Δ
internal/cgroups/mountpoint.go 96.15% <60.00%> (-3.85%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@coco-roll
Copy link
Author

Why Go / build (1.16.x) (pull_request) Failing?
I was run: make test and make lint all passed
image
image

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.

2 participants