Skip to content

Commit

Permalink
agent: Fix typo
Browse files Browse the repository at this point in the history
Fix the comment on `getMemory()` which contained a spelling mistake.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed May 8, 2018
1 parent 8856b3a commit 6689db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func (s *sandbox) setSubreaper() error {
}

// getMemory returns a string containing the total amount of memory reported
// by the kernell. The string includes a suffix denoting the units the memory
// by the kernel. The string includes a suffix denoting the units the memory
// is measured in.
func getMemory() (string, error) {
bytes, err := ioutil.ReadFile(meminfo)
Expand Down

0 comments on commit 6689db0

Please sign in to comment.