Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Mar 27, 2023
1 parent 32a0601 commit 56f7f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/util/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (

const memoryMax uint64 = math.MaxUint64

// MemTotal returns the memory limit of current process based on cgroup.
var MemTotal func() (uint64, error) = GetMemoryLimit

// GetMemoryLimit gets the memory limit of current process based on cgroup.
Expand Down

0 comments on commit 56f7f37

Please sign in to comment.