fix typos in pkg/validation and test/cmd

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2022-09-20 18:34:12 +05:30
parent 6ee3cbd931
commit 6621db7dd1
6 changed files with 8 additions and 8 deletions

View File

@@ -13384,7 +13384,7 @@ func TestValidateServiceCreate(t *testing.T) {
numErrs: 0,
},
{
name: "nagative healthCheckNodePort field",
name: "negative healthCheckNodePort field",
tweakSvc: func(s *core.Service) {
s.Spec.Type = core.ServiceTypeLoadBalancer
s.Spec.AllocateLoadBalancerNodePorts = utilpointer.BoolPtr(true)
@@ -13394,7 +13394,7 @@ func TestValidateServiceCreate(t *testing.T) {
numErrs: 1,
},
{
name: "nagative healthCheckNodePort field",
name: "negative healthCheckNodePort field",
tweakSvc: func(s *core.Service) {
s.Spec.Type = core.ServiceTypeLoadBalancer
s.Spec.AllocateLoadBalancerNodePorts = utilpointer.BoolPtr(true)
@@ -13528,7 +13528,7 @@ func TestValidateServiceCreate(t *testing.T) {
},
numErrs: 0,
},
/* cluster IPs. some tests are reduntant */
/* cluster IPs. some tests are redundant */
{
name: "invalid, garbage single ip",
tweakSvc: func(s *core.Service) {