diff --git a/cmd/libs/go2idl/generator/generator.go b/cmd/libs/go2idl/generator/generator.go index 19424f0c8f9..a9a7bbd8b54 100644 --- a/cmd/libs/go2idl/generator/generator.go +++ b/cmd/libs/go2idl/generator/generator.go @@ -33,7 +33,7 @@ type Package interface { Path() string // Filter should return true if this package cares about this type. - // Otherwise, this type will be ommitted from the type ordering for + // Otherwise, this type will be omitted from the type ordering for // this package. Filter(*Context, *types.Type) bool diff --git a/contrib/mesos/pkg/scheduler/podtask/procurement.go b/contrib/mesos/pkg/scheduler/podtask/procurement.go index 78f482bebe5..c5d61cdbefc 100644 --- a/contrib/mesos/pkg/scheduler/podtask/procurement.go +++ b/contrib/mesos/pkg/scheduler/podtask/procurement.go @@ -118,7 +118,7 @@ func (a AllOrNothingProcurement) Procure(t *T, n *api.Node, ps *ProcureState) er // NewNodeProcurement returns a Procurement that checks whether the given pod task and offer // have valid node informations available and wehther the pod spec node selector matches // the pod labels. -// If the check is successfull the slave ID and assigned slave is set in the given Spec. +// If the check is successful the slave ID and assigned slave is set in the given Spec. func NewNodeProcurement() Procurement { return ProcurementFunc(func(t *T, n *api.Node, ps *ProcureState) error { // if the user has specified a target host, make sure this offer is for that host diff --git a/pkg/client/unversioned/clientcmd/api/types.go b/pkg/client/unversioned/clientcmd/api/types.go index f14143e3f55..04deb13539d 100644 --- a/pkg/client/unversioned/clientcmd/api/types.go +++ b/pkg/client/unversioned/clientcmd/api/types.go @@ -32,7 +32,7 @@ type Config struct { // DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). // Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify // a single value for the cluster version. - // This field isnt really needed anyway, so we are deprecating it without replacement. + // This field isn't really needed anyway, so we are deprecating it without replacement. // It will be ignored if it is present. APIVersion string `json:"apiVersion,omitempty"` // Preferences holds general information to be use for cli interactions diff --git a/pkg/client/unversioned/clientcmd/api/v1/types.go b/pkg/client/unversioned/clientcmd/api/v1/types.go index 65a6f3c455a..3874fe4ed0d 100644 --- a/pkg/client/unversioned/clientcmd/api/v1/types.go +++ b/pkg/client/unversioned/clientcmd/api/v1/types.go @@ -31,7 +31,7 @@ type Config struct { // DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). // Because a cluster can run multiple API groups and potentially multiple versions of each, it no longer makes sense to specify // a single value for the cluster version. - // This field isnt really needed anyway, so we are deprecating it without replacement. + // This field isn't really needed anyway, so we are deprecating it without replacement. // It will be ignored if it is present. APIVersion string `json:"apiVersion,omitempty"` // Preferences holds general information to be use for cli interactions diff --git a/pkg/cloudprovider/providers/aws/aws.go b/pkg/cloudprovider/providers/aws/aws.go index 42e4adde777..83a8d98a690 100644 --- a/pkg/cloudprovider/providers/aws/aws.go +++ b/pkg/cloudprovider/providers/aws/aws.go @@ -1947,7 +1947,7 @@ func findTag(tags []*ec2.Tag, key string) (string, bool) { } // Finds the subnets associated with the cluster, by matching tags. -// For maximal backwards compatability, if no subnets are tagged, it will fall-back to the current subnet. +// For maximal backwards compatibility, if no subnets are tagged, it will fall-back to the current subnet. // However, in future this will likely be treated as an error. func (c *AWSCloud) findSubnets() ([]*ec2.Subnet, error) { request := &ec2.DescribeSubnetsInput{} diff --git a/pkg/controller/namespace/namespace_controller_utils.go b/pkg/controller/namespace/namespace_controller_utils.go index 9c08ba4bf59..4b86b7d739f 100644 --- a/pkg/controller/namespace/namespace_controller_utils.go +++ b/pkg/controller/namespace/namespace_controller_utils.go @@ -244,7 +244,7 @@ func deleteEachItem( } // deleteAllContentForGroupVersionResource will use the dynamic client to delete each resource identified in gvr. -// It returns an estimate of the time remaining before the remaing resources are deleted. +// It returns an estimate of the time remaining before the remaining resources are deleted. // If estimate > 0, not all resources are guaranteed to be gone. func deleteAllContentForGroupVersionResource( kubeClient clientset.Interface, @@ -304,7 +304,7 @@ func deleteAllContentForGroupVersionResource( } // deleteAllContent will use the dynamic client to delete each resource identified in groupVersionResources. -// It returns an estimate of the time remaining before the remaing resources are deleted. +// It returns an estimate of the time remaining before the remaining resources are deleted. // If estimate > 0, not all resources are guaranteed to be gone. func deleteAllContent( kubeClient clientset.Interface, diff --git a/test/e2e/volume_provisioning.go b/test/e2e/volume_provisioning.go index ef5f51b55aa..53fdb2beb98 100644 --- a/test/e2e/volume_provisioning.go +++ b/test/e2e/volume_provisioning.go @@ -33,7 +33,7 @@ const ( // Requested size of the volume requestedSize = "1500Mi" // Expected size of the volume is 2GiB, because all three supported cloud - // providers allocate volumes in 1GiB chunks. + // providers allocate volumes in 1GiB chunks. expectedSize = "2Gi" ) @@ -91,7 +91,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() { // We start two pods: // - The first writes 'hello word' to the /mnt/test (= the volume). // - The second one runs grep 'hello world' on /mnt/test. - // If both suceed, Kubernetes actually allocated something that is + // If both succeed, Kubernetes actually allocated something that is // persistent across pods. By("checking the created volume is writable") runInPodWithVolume(c, ns, claim.Name, "echo 'hello world' > /mnt/test/data")