Update inline doc for New
Signed-off-by: Eric Rafaloff <erafaloff@gmail.com>
This commit is contained in:
parent
6bd155234f
commit
c402815bdf
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ type SysInfo struct {
|
||||||
AppArmor bool
|
AppArmor bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns a new SysInfo, using the filesystem to detect which features the kernel supports.
|
// New returns a new SysInfo, using the filesystem to detect which features the kernel supports.
|
||||||
func New(quiet bool) *SysInfo {
|
func New(quiet bool) *SysInfo {
|
||||||
sysInfo := &SysInfo{}
|
sysInfo := &SysInfo{}
|
||||||
if cgroupMemoryMountpoint, err := cgroups.FindCgroupMountpoint("memory"); err != nil {
|
if cgroupMemoryMountpoint, err := cgroups.FindCgroupMountpoint("memory"); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue