fix: docker_momory in centos_7.5 & docker_1.13.1

pull/1670/head
coderZoe 1 year ago
parent 865b8c3f58
commit 91a267020c

@ -193,9 +193,9 @@ func CgroupMemWithContext(ctx context.Context, containerID string, base string)
ret.Cache = v ret.Cache = v
case "rss": case "rss":
ret.RSS = v ret.RSS = v
case "rssHuge": case "rssHuge", "rss_huge":
ret.RSSHuge = v ret.RSSHuge = v
case "mappedFile": case "mappedFile", "mapped_file":
ret.MappedFile = v ret.MappedFile = v
case "pgpgin": case "pgpgin":
ret.Pgpgin = v ret.Pgpgin = v

Loading…
Cancel
Save