mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Update inline doc for New
Signed-off-by: Eric Rafaloff <erafaloff@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user