summaryrefslogtreecommitdiff
path: root/pkg/k8s.io
diff options
context:
space:
mode:
authorErik Sjölund <erik.sjolund@gmail.com>2022-07-02 08:37:43 +0200
committerErik Sjölund <erik.sjolund@gmail.com>2022-07-02 08:37:43 +0200
commit24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116 (patch)
treecc5ceb053da33b0d8b23ab7e7094f4ae6edc2969 /pkg/k8s.io
parentb00e65aa9c071428579a55f91a92f3702765ed85 (diff)
downloadpodman-24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116.tar.gz
podman-24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116.tar.bz2
podman-24fcfb5d9e1a4c92f386cd34b5c1f44a2676d116.zip
Fix spelling "read only" -> "read-only"
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Diffstat (limited to 'pkg/k8s.io')
-rw-r--r--pkg/k8s.io/apimachinery/pkg/api/resource/amount.go2
-rw-r--r--pkg/k8s.io/apimachinery/pkg/api/resource/math.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/k8s.io/apimachinery/pkg/api/resource/amount.go b/pkg/k8s.io/apimachinery/pkg/api/resource/amount.go
index d05984dac..69613321f 100644
--- a/pkg/k8s.io/apimachinery/pkg/api/resource/amount.go
+++ b/pkg/k8s.io/apimachinery/pkg/api/resource/amount.go
@@ -48,7 +48,7 @@ const (
var (
Zero = int64Amount{}
- // Used by quantity strings - treat as read only
+ // Used by quantity strings - treat as read-only
zeroBytes = []byte("0")
)
diff --git a/pkg/k8s.io/apimachinery/pkg/api/resource/math.go b/pkg/k8s.io/apimachinery/pkg/api/resource/math.go
index 9d03f5c05..59a4c14de 100644
--- a/pkg/k8s.io/apimachinery/pkg/api/resource/math.go
+++ b/pkg/k8s.io/apimachinery/pkg/api/resource/math.go
@@ -29,13 +29,13 @@ const (
)
var (
- // Commonly needed big.Int values-- treat as read only!
+ // Commonly needed big.Int values-- treat as read-only!
bigTen = big.NewInt(10)
bigZero = big.NewInt(0)
bigOne = big.NewInt(1)
big1024 = big.NewInt(1024)
- // Commonly needed inf.Dec values-- treat as read only!
+ // Commonly needed inf.Dec values-- treat as read-only!
decZero = inf.NewDec(0, 0)
decOne = inf.NewDec(1, 0)