aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-03-25 08:07:24 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-03-25 15:34:41 -0400
commitffbab30d7b8ee407e0d92724db30a52edf7edb00 (patch)
tree57bd78deee92cc40983ec6d422355ac02e645830 /pkg
parent1fad1413fdae206d5d87cfba91395cf6a0ea3bdd (diff)
downloadpodman-ffbab30d7b8ee407e0d92724db30a52edf7edb00.tar.gz
podman-ffbab30d7b8ee407e0d92724db30a52edf7edb00.tar.bz2
podman-ffbab30d7b8ee407e0d92724db30a52edf7edb00.zip
Run codespell to cleanup typos
[NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/k8s.io/api/core/v1/types.go2
-rw-r--r--pkg/specgen/generate/container.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/k8s.io/api/core/v1/types.go b/pkg/k8s.io/api/core/v1/types.go
index 833814bc6..a488e5f28 100644
--- a/pkg/k8s.io/api/core/v1/types.go
+++ b/pkg/k8s.io/api/core/v1/types.go
@@ -2024,7 +2024,7 @@ type TopologySpreadConstraint struct {
// but giving higher precedence to topologies that would help reduce the
// skew.
// A constraint is considered "Unsatisfiable" for an incoming pod
- // if and only if every possible node assigment for that pod would violate
+ // if and only if every possible node assignment for that pod would violate
// "MaxSkew" on some topology.
// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
// labelSelector spread as 3/1/1:
diff --git a/pkg/specgen/generate/container.go b/pkg/specgen/generate/container.go
index 0e9d33dd8..118d80e2c 100644
--- a/pkg/specgen/generate/container.go
+++ b/pkg/specgen/generate/container.go
@@ -337,7 +337,7 @@ func FinishThrottleDevices(s *specgen.SpecGenerator) error {
return nil
}
-// ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an exisiting container
+// ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an existing container
func ConfigToSpec(rt *libpod.Runtime, specg *specgen.SpecGenerator, containerID string) (*libpod.Container, error) {
c, err := rt.LookupContainer(containerID)
if err != nil {