Procházet zdrojové kódy

Update inline doc for New

Signed-off-by: Eric Rafaloff <erafaloff@gmail.com>
Eric Rafaloff před 10 roky
rodič
revize
3716df57c0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      pkg/sysinfo/sysinfo.go

+ 1 - 1
pkg/sysinfo/sysinfo.go

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