Skip to content

Commit

Permalink
Merge pull request #1670 from coderZoe/bugfix_for_docker_memory
Browse files Browse the repository at this point in the history
fix: docker_memory in centos_7.5 & docker_1.13.1
  • Loading branch information
shirou authored Jul 19, 2024
2 parents d04251e + 91a2670 commit 3f547e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/docker_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ func CgroupMemWithContext(ctx context.Context, containerID string, base string)
ret.Cache = v
case "rss":
ret.RSS = v
case "rssHuge":
case "rssHuge", "rss_huge":
ret.RSSHuge = v
case "mappedFile":
case "mappedFile", "mapped_file":
ret.MappedFile = v
case "pgpgin":
ret.Pgpgin = v
Expand Down

0 comments on commit 3f547e4

Please sign in to comment.