Skip to content

Commit 54a578d

Browse files
authored
Merge pull request kubernetes#72012 from yeya24/patch-1
fix typos lable -> label
2 parents 5bedff6 + 16acbc8 commit 54a578d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/scheduler/algorithm/predicates/predicates_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3444,7 +3444,7 @@ func TestInterPodAffinityWithMultipleNodes(t *testing.T) {
34443444
"nodeA": true,
34453445
"nodeB": true,
34463446
},
3447-
name: "Test incoming pod's anti-affinity: even if lableSelector matches, we still check if topologyKey matches",
3447+
name: "Test incoming pod's anti-affinity: even if labelSelector matches, we still check if topologyKey matches",
34483448
},
34493449
{
34503450
pod: &v1.Pod{

pkg/scheduler/algorithm/priorities/util/topologies_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ func TestNodesHaveSameTopologyKey(t *testing.T) {
220220
topologyKey: "",
221221
},
222222
{
223-
name: "nodeA lable nil vs. nodeB{'a':''} by key('a')",
223+
name: "nodeA label nil vs. nodeB{'a':''} by key('a')",
224224
nodeA: &v1.Node{
225225
ObjectMeta: metav1.ObjectMeta{},
226226
},

test/e2e/storage/vsphere/pvc_label_selector.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
Test Steps
3535
----------
3636
1. Create VMDK.
37-
2. Create pv with lable volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete.
37+
2. Create pv with label volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete.
3838
3. Create PVC (pvc_vvol) with label selector to match with volume-type:vvol
3939
4. Create PVC (pvc_ssd) with label selector to match with volume-type:ssd
4040
5. Wait and verify pvc_ssd is bound with PV.
@@ -112,7 +112,7 @@ func testSetupVSpherePVClabelselector(c clientset.Interface, nodeInfo *NodeInfo,
112112
return
113113
}
114114

115-
By("creating the pv with lable volume-type:ssd")
115+
By("creating the pv with label volume-type:ssd")
116116
pv_ssd = getVSpherePersistentVolumeSpec(volumePath, v1.PersistentVolumeReclaimDelete, ssdlabels)
117117
pv_ssd, err = c.CoreV1().PersistentVolumes().Create(pv_ssd)
118118
if err != nil {

0 commit comments

Comments
 (0)