From 76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef Mon Sep 17 00:00:00 2001 From: Noah Stride Date: Mon, 3 Jan 2022 12:48:17 +0000 Subject: fix misleading comment regarding default value of cpu period [NO NEW TESTS NEEDED] Signed-off-by: Noah Stride --- pkg/util/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/util/utils.go') diff --git a/pkg/util/utils.go b/pkg/util/utils.go index 390057c32..11edf265f 100644 --- a/pkg/util/utils.go +++ b/pkg/util/utils.go @@ -665,8 +665,8 @@ func CreateCidFile(cidfile string, id string) error { return nil } -// DefaultCPUPeriod is the default CPU period is 100us, which is the same default -// as Kubernetes. +// DefaultCPUPeriod is the default CPU period (100ms) in microseconds, which is +// the same default as Kubernetes. const DefaultCPUPeriod uint64 = 100000 // CoresToPeriodAndQuota converts a fraction of cores to the equivalent -- cgit v1.2.3-54-g00ecf