Skip to content

Commit e48984d

Browse files
authored
Apply suggestions from code review
1 parent e1463ae commit e48984d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/datadog/platform_util.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ Optional<Cgroup> get_cgroup_version() {
338338
}
339339

340340
Optional<std::string> find_docker_container_id_from_cgroup() {
341-
constexpr std::string_view cgroup_path = "/proc/self/cgroup";
342-
343341
auto cgroup_fd = std::ifstream("/proc/self/cgroup", std::ios::in);
344342
if (!cgroup_fd.is_open()) return nullopt;
345343

0 commit comments

Comments
 (0)