Unverified Commit 54a578d3 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #72012 from yeya24/patch-1

fix typos lable -> label
parents 5bedff66 16acbc84
...@@ -3444,7 +3444,7 @@ func TestInterPodAffinityWithMultipleNodes(t *testing.T) { ...@@ -3444,7 +3444,7 @@ func TestInterPodAffinityWithMultipleNodes(t *testing.T) {
"nodeA": true, "nodeA": true,
"nodeB": true, "nodeB": true,
}, },
name: "Test incoming pod's anti-affinity: even if lableSelector matches, we still check if topologyKey matches", name: "Test incoming pod's anti-affinity: even if labelSelector matches, we still check if topologyKey matches",
}, },
{ {
pod: &v1.Pod{ pod: &v1.Pod{
......
...@@ -220,7 +220,7 @@ func TestNodesHaveSameTopologyKey(t *testing.T) { ...@@ -220,7 +220,7 @@ func TestNodesHaveSameTopologyKey(t *testing.T) {
topologyKey: "", topologyKey: "",
}, },
{ {
name: "nodeA lable nil vs. nodeB{'a':''} by key('a')", name: "nodeA label nil vs. nodeB{'a':''} by key('a')",
nodeA: &v1.Node{ nodeA: &v1.Node{
ObjectMeta: metav1.ObjectMeta{}, ObjectMeta: metav1.ObjectMeta{},
}, },
......
...@@ -34,7 +34,7 @@ import ( ...@@ -34,7 +34,7 @@ import (
Test Steps Test Steps
---------- ----------
1. Create VMDK. 1. Create VMDK.
2. Create pv with lable volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete. 2. Create pv with label volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete.
3. Create PVC (pvc_vvol) with label selector to match with volume-type:vvol 3. Create PVC (pvc_vvol) with label selector to match with volume-type:vvol
4. Create PVC (pvc_ssd) with label selector to match with volume-type:ssd 4. Create PVC (pvc_ssd) with label selector to match with volume-type:ssd
5. Wait and verify pvc_ssd is bound with PV. 5. Wait and verify pvc_ssd is bound with PV.
...@@ -112,7 +112,7 @@ func testSetupVSpherePVClabelselector(c clientset.Interface, nodeInfo *NodeInfo, ...@@ -112,7 +112,7 @@ func testSetupVSpherePVClabelselector(c clientset.Interface, nodeInfo *NodeInfo,
return return
} }
By("creating the pv with lable volume-type:ssd") By("creating the pv with label volume-type:ssd")
pv_ssd = getVSpherePersistentVolumeSpec(volumePath, v1.PersistentVolumeReclaimDelete, ssdlabels) pv_ssd = getVSpherePersistentVolumeSpec(volumePath, v1.PersistentVolumeReclaimDelete, ssdlabels)
pv_ssd, err = c.CoreV1().PersistentVolumes().Create(pv_ssd) pv_ssd, err = c.CoreV1().PersistentVolumes().Create(pv_ssd)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment