We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8576b9 commit 9d1946bCopy full SHA for 9d1946b
1 file changed
src/datadog/platform_util.cpp
@@ -375,8 +375,9 @@ Optional<std::string> find_container_id(std::istream& source) {
375
source.clear();
376
source.seekg(0);
377
378
- // Perform a second pass using a regular expression for matching container IDs in a Fargate environment.
379
- // This two-step approach is used because STL `regex` is relatively slow, so we avoid using it unless necessary.
+ // Perform a second pass using a regular expression for matching container IDs
+ // in a Fargate environment. This two-step approach is used because STL
380
+ // `regex` is relatively slow, so we avoid using it unless necessary.
381
static const std::string uuid_regex_str =
382
"[0-9a-f]{8}[-_][0-9a-f]{4}[-_][0-9a-f]{4}[-_][0-9a-f]{4}[-_][0-9a-f]{12}"
383
"|(?:[0-9a-f]{8}(?:-[0-9a-f]{4}){4}$)";
0 commit comments