From 63c7f0519037a39761b3aeea0a1c85b15976c541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=B2=E4=BF=8A=E5=A5=8710138035?= <10138035@zte.com.cn> Date: Mon, 9 Apr 2018 10:55:09 +0800 Subject: [PATCH] add hugepages info to attributes --- info/v2/machine.go | 1 + 1 file changed, 1 insertion(+) diff --git a/info/v2/machine.go b/info/v2/machine.go index d89f1f3909..c33ec691d3 100644 --- a/info/v2/machine.go +++ b/info/v2/machine.go @@ -87,6 +87,7 @@ func GetAttributes(mi *v1.MachineInfo, vi *v1.VersionInfo) Attributes { MemoryCapacity: mi.MemoryCapacity, MachineID: mi.MachineID, SystemUUID: mi.SystemUUID, + HugePages: mi.HugePages, Filesystems: mi.Filesystems, DiskMap: mi.DiskMap, NetworkDevices: mi.NetworkDevices,