diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-03 18:40:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 18:40:13 +0100 |
commit | 8ad8faa91f04b132949931b13f8b9a51bd1c1010 (patch) | |
tree | 1c30298a0c0fb767e0e54b76edc3ba82c983321f /pkg/util/utils.go | |
parent | e7222e34da87eb0ec3185bb64f3335ab613fd69a (diff) | |
parent | 76a944b147a7e0e1aa2eeda1169aba1b6f46c6ef (diff) | |
download | podman-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/util/utils.go')
-rw-r--r-- | pkg/util/utils.go | 4 |
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 |