Merge pull request #1670 from coderZoe/bugfix_for_docker_memory

fix: docker_memory in centos_7.5 & docker_1.13.1
pull/1677/head
shirou 8 months ago committed by GitHub
commit 3f547e4dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save