Update inline doc for New

Signed-off-by: Eric Rafaloff <erafaloff@gmail.com>
This commit is contained in:
Eric Rafaloff 2015-03-27 13:55:22 -04:00
parent 6bd155234f
commit c402815bdf

View file

@ -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 {