Skip to content

Commit

Permalink
Bugfix: MachineInfo Clone() - clone SwapCapacity
Browse files Browse the repository at this point in the history
Signed-off-by: Itamar Holder <[email protected]>
  • Loading branch information
iholder101 committed Apr 16, 2023
1 parent d12963b commit 54364e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions info/v1/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 54364e7

Please sign in to comment.