Merge pull request #82121 from Zhuzhenghao/typo/bound
Typo fix: binded -> bound
This commit is contained in:
		@@ -510,7 +510,7 @@ func (t StorageClassTest) TestBindingWaitForFirstConsumerMultiPVC(claims []*v1.P
 | 
			
		||||
	node, err := t.Client.CoreV1().Nodes().Get(pod.Spec.NodeName, metav1.GetOptions{})
 | 
			
		||||
	framework.ExpectNoError(err)
 | 
			
		||||
 | 
			
		||||
	ginkgo.By("re-checking the claims to see they binded")
 | 
			
		||||
	ginkgo.By("re-checking the claims to see they bound")
 | 
			
		||||
	var pvs []*v1.PersistentVolume
 | 
			
		||||
	for _, claim := range createdClaims {
 | 
			
		||||
		// Get new copy of the claim
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,7 @@ var _ = KubeadmDescribe("proxy addon", func() {
 | 
			
		||||
			ExpectServiceAccount(f.ClientSet, kubeSystemNamespace, kubeProxyServiceAccountName)
 | 
			
		||||
		})
 | 
			
		||||
 | 
			
		||||
		ginkgo.It("should be binded to the system:node-proxier cluster role", func() {
 | 
			
		||||
		ginkgo.It("should be bound to the system:node-proxier cluster role", func() {
 | 
			
		||||
			ExpectClusterRoleBindingWithSubjectAndRole(f.ClientSet,
 | 
			
		||||
				kubeProxyClusterRoleBindingName,
 | 
			
		||||
				rbacv1.ServiceAccountKind, kubeProxyServiceAccountName,
 | 
			
		||||
 
 | 
			
		||||
@@ -1009,14 +1009,14 @@ func TestBindPlugin(t *testing.T) {
 | 
			
		||||
			}
 | 
			
		||||
			if test.expectBoundByScheduler {
 | 
			
		||||
				if pod.Annotations[bindPluginAnnotation] != "" {
 | 
			
		||||
					t.Errorf("test #%v: Expected the pod to be binded by scheduler instead of by bindplugin %s", i, pod.Annotations[bindPluginAnnotation])
 | 
			
		||||
					t.Errorf("test #%v: Expected the pod to be bound by scheduler instead of by bindplugin %s", i, pod.Annotations[bindPluginAnnotation])
 | 
			
		||||
				}
 | 
			
		||||
				if bindPlugin1.numBindCalled != 1 || bindPlugin2.numBindCalled != 1 {
 | 
			
		||||
					t.Errorf("test #%v: Expected each bind plugin to be called once, was called %d and %d times.", i, bindPlugin1.numBindCalled, bindPlugin2.numBindCalled)
 | 
			
		||||
				}
 | 
			
		||||
			} else {
 | 
			
		||||
				if pod.Annotations[bindPluginAnnotation] != test.expectBindPluginName {
 | 
			
		||||
					t.Errorf("test #%v: Expected the pod to be binded by bindplugin %s instead of by bindplugin %s", i, test.expectBindPluginName, pod.Annotations[bindPluginAnnotation])
 | 
			
		||||
					t.Errorf("test #%v: Expected the pod to be bound by bindplugin %s instead of by bindplugin %s", i, test.expectBindPluginName, pod.Annotations[bindPluginAnnotation])
 | 
			
		||||
				}
 | 
			
		||||
				if bindPlugin1.numBindCalled != 1 {
 | 
			
		||||
					t.Errorf("test #%v: Expected %s to be called once, was called %d times.", i, bindPlugin1.Name(), bindPlugin1.numBindCalled)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user