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

Drop unused setNetworkStats #3609

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

dims
Copy link
Collaborator

@dims dims commented Oct 18, 2024

Avoid referring to the things in the library's root directory: "github.com/opencontainers/runc/libcontainer" since we never even threaded in support for network stats. We are creating libcontainer.Stats with cgroup stats but network stats are empty.

https://github.com/google/cadvisor/blame/96c346ed6af33ecc856f82dfd9ef6b0fd6b66949/container/libcontainer/handler.go#L92-L95

PS: This will eventually help us minimize the things we use in runc.

@dims dims force-pushed the drop-unused-setNetworkStats branch from c5ba3f0 to 80497bd Compare October 21, 2024 13:19
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
@bobbypage
Copy link
Collaborator

LGTM

@cwangVT cwangVT merged commit 255cff7 into google:master Oct 25, 2024
13 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