summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-03 18:40:13 +0100
committerGitHub <noreply@github.com>2022-01-03 18:40:13 +0100
commit8ad8faa91f04b132949931b13f8b9a51bd1c1010 (patch)
tree1c30298a0c0fb767e0e54b76edc3ba82c983321f /pkg
parente7222e34da87eb0ec3185bb64f3335ab613fd69a (diff)
parent76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef (diff)
downloadpodman-8ad8faa91f04b132949931b13f8b9a51bd1c1010.tar.gz
podman-8ad8faa91f04b132949931b13f8b9a51bd1c1010.tar.bz2
podman-8ad8faa91f04b132949931b13f8b9a51bd1c1010.zip
Merge pull request #12732 from strideynet/fix-default-cpu-period-comment
fix misleading comment regarding default value of cpu period
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