We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8e435 commit a878e1fCopy full SHA for a878e1f
pkg/util/cgroup/cgroup_cpu_linux.go
@@ -17,15 +17,13 @@
17
package cgroup
18
19
import (
20
- "fmt"
21
"math"
22
"os"
23
"runtime"
24
"strings"
25
26
"github.com/pingcap/errors"
27
"github.com/pingcap/failpoint"
28
- "github.com/pingcap/log"
29
)
30
31
// GetCgroupCPU returns the CPU usage and quota for the current cgroup.
@@ -93,7 +91,6 @@ func inContainer(path string) bool {
93
91
// see details from https://man7.org/linux/man-pages/man5/proc.5.html
94
92
// TODO: enhance this check, as overlay is not the only storage driver for container.
95
if len(v) > 8 && v[4] == "/" && v[8] == "overlay" {
96
- log.Info(fmt.Sprintf("TiDB runs in a container, mount info: %s", line))
97
return true
98
}
99
0 commit comments