瀏覽代碼

Update inline doc for New

Signed-off-by: Eric Rafaloff <erafaloff@gmail.com>
Eric Rafaloff 10 年之前
父節點
當前提交
3716df57c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/sysinfo/sysinfo.go

+ 1 - 1
pkg/sysinfo/sysinfo.go

@@ -17,7 +17,7 @@ type SysInfo struct {
 	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 {
 	sysInfo := &SysInfo{}
 	if cgroupMemoryMountpoint, err := cgroups.FindCgroupMountpoint("memory"); err != nil {