Skip to content

Commit 62d8081

Browse files
committed
Fix a log info error
1 parent f6c51d6 commit 62d8081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/cm/container_manager_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.I
256256
// the input is provided in that format.
257257
// this is important because we do not want any name conversion to occur.
258258
if !cgroupManager.Exists(cgroupRoot) {
259-
return nil, fmt.Errorf("invalid configuration: cgroup-root %q doesn't exist: %v", cgroupRoot, err)
259+
return nil, fmt.Errorf("invalid configuration: cgroup-root %q doesn't exist", cgroupRoot)
260260
}
261261
klog.Infof("container manager verified user specified cgroup-root exists: %v", cgroupRoot)
262262
// Include the top level cgroup for enforcing node allocatable into cgroup-root.

0 commit comments

Comments
 (0)