Skip to content

Commit 56645e1

Browse files
committed
test
1 parent 873786c commit 56645e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

metric/system/cgroup/reader.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,10 @@ func (r *Reader) readControllerList(cgroupsFile string) ([]string, error) {
377377
logp.L().Infof("V2Loc: %s, ContainerizedRootMount %s", r.cgroupMountpoints.V2Loc, r.cgroupMountpoints.ContainerizedRootMount)
378378
cgFilePath = filepath.Join(r.cgroupMountpoints.V2Loc, r.cgroupMountpoints.ContainerizedRootMount, cgpath, "cgroup.controllers")
379379
} else {
380-
logp.L().Infof("V2Loc: %s, ContainerizedRootMount %s", r.cgroupMountpoints.V2Loc)
380+
logp.L().Infof("V2Loc: %s, ContainerizedRootMount %s", r.cgroupMountpoints.V2Loc, r.cgroupMountpoints.ContainerizedRootMount)
381381
}
382382

383+
logp.L().Infof("reading %s", cgFilePath)
383384
controllersRaw, err := os.ReadFile(cgFilePath)
384385
if err != nil {
385386
return nil, fmt.Errorf("error reading cgroup '%s': file %s: %w", cgpath, cgFilePath, err)

0 commit comments

Comments
 (0)