Remove pointers from the SysInfo struct.
Because they can just be values. Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
ef9b1b6b70
commit
482c54a691
2 changed files with 43 additions and 36 deletions
|
@ -6,10 +6,10 @@ type SysInfo struct {
|
|||
// Whether the kernel supports AppArmor or not
|
||||
AppArmor bool
|
||||
|
||||
*cgroupMemInfo
|
||||
*cgroupCPUInfo
|
||||
*cgroupBlkioInfo
|
||||
*cgroupCpusetInfo
|
||||
cgroupMemInfo
|
||||
cgroupCPUInfo
|
||||
cgroupBlkioInfo
|
||||
cgroupCpusetInfo
|
||||
|
||||
// Whether IPv4 forwarding is supported or not, if this was disabled, networking will not work
|
||||
IPv4ForwardingDisabled bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue