Skip to content

Commit

Permalink
Update datadog/dogstatsd/container.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vickenty Fesunov <[email protected]>
  • Loading branch information
wdhif and vickenty authored Jan 16, 2024
1 parent 6c151a1 commit 05b311e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadog/dogstatsd/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _get_cgroup_from_inode(self):
inode_path = os.path.join(
self.DEFAULT_CGROUP_MOUNT_PATH,
controller,
cgroup_controllers_paths[controller] if cgroup_controllers_paths[controller] != "/" else "",
cpath if cpath != "/" else "",
)
return "in-{0}".format(os.stat(inode_path).st_ino)

Expand Down

0 comments on commit 05b311e

Please sign in to comment.