diff --git a/vendor/github.com/google/cadvisor/info/v1/machine.go b/vendor/github.com/google/cadvisor/info/v1/machine.go index 47a43604053c0..05c67aa65414b 100644 --- a/vendor/github.com/google/cadvisor/info/v1/machine.go +++ b/vendor/github.com/google/cadvisor/info/v1/machine.go @@ -263,6 +263,7 @@ func (m *MachineInfo) Clone() *MachineInfo { NumSockets: m.NumSockets, CpuFrequency: m.CpuFrequency, MemoryCapacity: m.MemoryCapacity, + SwapCapacity: m.SwapCapacity, MemoryByType: memoryByType, NVMInfo: m.NVMInfo, HugePages: m.HugePages,