diff --git a/tests/robustness/traffic/kubernetes.go b/tests/robustness/traffic/kubernetes.go index 2776164bddf..b37f479a310 100644 --- a/tests/robustness/traffic/kubernetes.go +++ b/tests/robustness/traffic/kubernetes.go @@ -155,7 +155,7 @@ func (t kubernetesTraffic) Write(ctx context.Context, kc *kubernetesClient, ids } else { choices := t.writeChoices if !nonUniqueWriteLimiter.Take() { - choices = filterOutNonUniqueKuberntesWrites(t.writeChoices) + choices = filterOutNonUniqueKubernetesWrites(t.writeChoices) } op := pickRandom(choices) switch op { @@ -178,7 +178,7 @@ func (t kubernetesTraffic) Write(ctx context.Context, kc *kubernetesClient, ids return nil } -func filterOutNonUniqueKuberntesWrites(choices []choiceWeight[KubernetesRequestType]) (resp []choiceWeight[KubernetesRequestType]) { +func filterOutNonUniqueKubernetesWrites(choices []choiceWeight[KubernetesRequestType]) (resp []choiceWeight[KubernetesRequestType]) { for _, choice := range choices { if choice.choice != KubernetesDelete { resp = append(resp, choice)