From 6a38ce20691a51c20533cf0bcb2258162e7d6dbd Mon Sep 17 00:00:00 2001 From: Shrug 42 Date: Wed, 20 Jun 2018 10:20:54 -0700 Subject: [PATCH] fix json tags --- mem/mem.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mem/mem.go b/mem/mem.go index 9bd20840..3d71d96c 100644 --- a/mem/mem.go +++ b/mem/mem.go @@ -67,8 +67,8 @@ type VirtualMemoryStat struct { VMallocTotal uint64 `json:"vmalloctotal"` VMallocUsed uint64 `json:"vmallocused"` VMallocChunk uint64 `json:"vmallocchunk"` - HugePagesTotal uint64 `json:"hugePagestotal"` - HugePagesFree uint64 `json:"hugePagesfree"` + HugePagesTotal uint64 `json:"hugepagestotal"` + HugePagesFree uint64 `json:"hugepagesfree"` HugePageSize uint64 `json:"hugepagesize"` }