fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
8ad3fc4a91
commit
dcb61a1e38
1 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,7 @@ func ReadMemInfo() (*MemInfo, error) {
|
|||
}
|
||||
|
||||
// parseMemInfo parses the /proc/meminfo file into
|
||||
// a MemInfo object given a io.Reader to the file.
|
||||
//
|
||||
// a MemInfo object given an io.Reader to the file.
|
||||
// Throws error if there are problems reading from the file
|
||||
func parseMemInfo(reader io.Reader) (*MemInfo, error) {
|
||||
meminfo := &MemInfo{}
|
||||
|
|
Loading…
Reference in a new issue