summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorNoah Stride <noah@noahstride.co.uk>2022-01-03 12:48:17 +0000
committerNoah Stride <noah@noahstride.co.uk>2022-01-03 14:32:02 +0000
commit76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef (patch)
tree958b8bf95de1a0e1124c3bc1e795d037a20f5042 /pkg
parent172d4eb40031a11d50c8198a569604f4bc915550 (diff)
downloadpodman-76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef.tar.gz
podman-76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef.tar.bz2
podman-76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef.zip
fix misleading comment regarding default value of cpu period [NO NEW TESTS NEEDED]
Signed-off-by: Noah Stride <noah@noahstride.co.uk>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/util/utils.go4
1 files changed, 2 insertions, 2 deletions
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