Merge pull request #24282 from goltermann/spelling

Automatic merge from submit-queue

Fix misspellings in comments
This commit is contained in:
k8s-merge-robot 2016-04-19 03:47:07 -07:00
commit db28f73c3b
7 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ type Package interface {
Path() string Path() string
// Filter should return true if this package cares about this type. // 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. // this package.
Filter(*Context, *types.Type) bool Filter(*Context, *types.Type) bool

View File

@ -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 // 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 // have valid node informations available and wehther the pod spec node selector matches
// the pod labels. // 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 { func NewNodeProcurement() Procurement {
return ProcurementFunc(func(t *T, n *api.Node, ps *ProcureState) error { 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 // if the user has specified a target host, make sure this offer is for that host

View File

@ -32,7 +32,7 @@ type Config struct {
// DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). // 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 // 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. // 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. // It will be ignored if it is present.
APIVersion string `json:"apiVersion,omitempty"` APIVersion string `json:"apiVersion,omitempty"`
// Preferences holds general information to be use for cli interactions // Preferences holds general information to be use for cli interactions

View File

@ -31,7 +31,7 @@ type Config struct {
// DEPRECATED: APIVersion is the preferred api version for communicating with the kubernetes cluster (v1, v2, etc). // 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 // 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. // 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. // It will be ignored if it is present.
APIVersion string `json:"apiVersion,omitempty"` APIVersion string `json:"apiVersion,omitempty"`
// Preferences holds general information to be use for cli interactions // Preferences holds general information to be use for cli interactions

View File

@ -1947,7 +1947,7 @@ func findTag(tags []*ec2.Tag, key string) (string, bool) {
} }
// Finds the subnets associated with the cluster, by matching tags. // 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. // However, in future this will likely be treated as an error.
func (c *AWSCloud) findSubnets() ([]*ec2.Subnet, error) { func (c *AWSCloud) findSubnets() ([]*ec2.Subnet, error) {
request := &ec2.DescribeSubnetsInput{} request := &ec2.DescribeSubnetsInput{}

View File

@ -244,7 +244,7 @@ func deleteEachItem(
} }
// deleteAllContentForGroupVersionResource will use the dynamic client to delete each resource identified in gvr. // 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. // If estimate > 0, not all resources are guaranteed to be gone.
func deleteAllContentForGroupVersionResource( func deleteAllContentForGroupVersionResource(
kubeClient clientset.Interface, kubeClient clientset.Interface,
@ -304,7 +304,7 @@ func deleteAllContentForGroupVersionResource(
} }
// deleteAllContent will use the dynamic client to delete each resource identified in groupVersionResources. // 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. // If estimate > 0, not all resources are guaranteed to be gone.
func deleteAllContent( func deleteAllContent(
kubeClient clientset.Interface, kubeClient clientset.Interface,

View File

@ -91,7 +91,7 @@ var _ = framework.KubeDescribe("Dynamic provisioning", func() {
// We start two pods: // We start two pods:
// - The first writes 'hello word' to the /mnt/test (= the volume). // - The first writes 'hello word' to the /mnt/test (= the volume).
// - The second one runs grep 'hello world' on /mnt/test. // - 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. // persistent across pods.
By("checking the created volume is writable") By("checking the created volume is writable")
runInPodWithVolume(c, ns, claim.Name, "echo 'hello world' > /mnt/test/data") runInPodWithVolume(c, ns, claim.Name, "echo 'hello world' > /mnt/test/data")