Merge pull request #74125 from tuanvcw/fixing_typo

Fix many typos in both code and comments
This commit is contained in:
Kubernetes Prow Robot
2019-03-01 14:08:45 -08:00
committed by GitHub
29 changed files with 47 additions and 47 deletions

View File

@@ -105,7 +105,7 @@ func (o *Observer) StartObserving() error {
func (o *Observer) Results(name string, config *Config) *Results {
var (
firstAdd time.Time // earliest time any node was added (first node add)
lastAssignment time.Time // latest time any node was assignged CIDR (last node assignment)
lastAssignment time.Time // latest time any node was assigned CIDR (last node assignment)
)
o.wg.Wait()
close(o.stopChan) // shutdown the shared informer

View File

@@ -223,7 +223,7 @@ func testAudit(t *testing.T, version string) {
}
}
// configMapOperations is a set of known operations perfomed on the configmap type
// configMapOperations is a set of known operations performed on the configmap type
// which correspond to the expected events.
// This is shared by the dynamic test
func configMapOperations(t *testing.T, kubeclient kubernetes.Interface) {

View File

@@ -898,7 +898,7 @@ func TestNodePIDPressure(t *testing.T) {
t.Fatalf("Cannot update node: %v", err)
}
// Creats test pod.
// Create test pod.
testPod := &v1.Pod{
ObjectMeta: metav1.ObjectMeta{Name: "pidpressure-fake-name"},
Spec: v1.PodSpec{