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 cgroup parsing in ECS Fargate #305

Merged

Conversation

sblumenthal
Copy link
Contributor

@sblumenthal sblumenthal commented Mar 28, 2024

The regex being used to parse ECS fargate container IDs is incorrect.

More details here: DataDog/datadog-agent#24186

It looks like this is the only other place which uses this regex

It is worth noting that this should not really be an issue here, as this regex is used to parse the mountinfo file, and we are filtering for the existence of sandboxes which is unavailable in fargate, and the entry should be a regular docker ID in non-fargate ECS. So this PR should be more of a noop, but cleaning up a known non-working regex

@sblumenthal sblumenthal requested a review from a team as a code owner March 28, 2024 15:27
rayz
rayz previously approved these changes Mar 28, 2024
@sblumenthal sblumenthal merged commit 7e9cde5 into master Mar 28, 2024
38 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.

None yet

2 participants