-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add docker container id discovery for SystemData (#966)
* fix: add docker container id discovery for SystemData * Refactor to handle possible false from file_get_contents * fix semantic error and change priority from cgroups to mountinfo * Fix tests to know about container.id in SystemData * Fixed issue found by static analysis * Refactored MetadataDiscoverer::detectContainerId to make it testable * Added unit test for MetadataDiscoverer::detectContainerId --------- Co-authored-by: Sergey Kleyman <[email protected]>
- Loading branch information
1 parent
62b81e5
commit 76db293
Showing
4 changed files
with
218 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters