Fix spelling errors

More spelling fixes
This commit is contained in:
Robert Deusser 2016-06-18 11:51:56 -04:00
parent d82c3023a8
commit cd1450b3ec
6 changed files with 8 additions and 7 deletions

View File

@ -26,9 +26,10 @@ import (
cache "k8s.io/kubernetes/pkg/client/cache"
"k8s.io/kubernetes/pkg/controller"
"github.com/golang/glog"
"reflect"
"sort"
"github.com/golang/glog"
)
// worker runs a worker thread that just dequeues items, processes them, and marks them done.

View File

@ -1799,7 +1799,7 @@ func Cleanup(filePath, ns string, selectors ...string) {
AssertCleanup(ns, selectors...)
}
// Asserts that cleanup of a namespace wrt selectors occured.
// Asserts that cleanup of a namespace wrt selectors occurred.
func AssertCleanup(ns string, selectors ...string) {
var nsArg string
if ns != "" {
@ -3734,7 +3734,7 @@ func RestartApiserver(c *client.Client) error {
if ProviderIs("gce", "aws") {
return sshRestartMaster()
}
// GKE doesn't allow ssh accesss, so use a same-version master
// GKE doesn't allow ssh access, so use a same-version master
// upgrade to teardown/recreate master.
v, err := c.ServerVersion()
if err != nil {

View File

@ -449,7 +449,7 @@ func (p *petSetTester) execInPets(ps *apps.PetSet, cmd string) error {
}
func (p *petSetTester) saturate(ps *apps.PetSet) {
// TOOD: Watch events and check that creation timestamps don't overlap
// TODO: Watch events and check that creation timestamps don't overlap
for i := 0; i < ps.Spec.Replicas; i++ {
framework.Logf("Waiting for pet at index " + fmt.Sprintf("%v", i+1) + " to enter Running")
p.waitForRunning(i+1, ps)

View File

@ -180,7 +180,7 @@ func TestCascadingDeletion(t *testing.T) {
t.Fatalf("Failed to create Pod: %v", err)
}
// this pod shouldn't be cascadingly deleted, because it has a valid referenece.
// this pod shouldn't be cascadingly deleted, because it has a valid reference.
pod = newPod(oneValidOwnerPodName, []v1.OwnerReference{
{UID: toBeDeletedRC.ObjectMeta.UID, Name: toBeDeletedRCName},
{UID: remainingRC.ObjectMeta.UID, Name: remainingRCName},

View File

@ -37,7 +37,7 @@ func TestKubectlValidation(t *testing.T) {
{`{"apiVersion": "v1", "kind": "Pod"}`, false},
// The following test the experimental api.
// TOOD: Replace with something more robust. These may move.
// TODO: Replace with something more robust. These may move.
{`{"apiVersion": "extensions/v1beta1", "kind": "Ingress"}`, false},
{`{"apiVersion": "extensions/v1beta1", "kind": "Job"}`, false},
{`{"apiVersion": "vNotAVersion", "kind": "Job"}`, true},

View File

@ -48,7 +48,7 @@ func init() {
requireEtcd()
}
// Several tests in this file are configurable by enviroment variables:
// Several tests in this file are configurable by environment variables:
// KUBE_INTEGRATION_PV_OBJECTS - nr. of PVs/PVCs to be created
// (100 by default)
// KUBE_INTEGRATION_PV_SYNC_PERIOD - volume controller sync period