From 27794eaead7ac7f236b29f9659302feae166b7a0 Mon Sep 17 00:00:00 2001 From: Richard Taylor Date: Wed, 3 Oct 2018 12:45:02 -0700 Subject: [PATCH] Grammar correction --- cluster-autoscaler/simulator/drain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/simulator/drain.go b/cluster-autoscaler/simulator/drain.go index c1c517078d..ced7c256e3 100644 --- a/cluster-autoscaler/simulator/drain.go +++ b/cluster-autoscaler/simulator/drain.go @@ -94,7 +94,7 @@ func checkPdbs(pods []*apiv1.Pod, pdbs []*policyv1.PodDisruptionBudget) error { for _, pod := range pods { if pod.Namespace == pdb.Namespace && selector.Matches(labels.Set(pod.Labels)) { if pdb.Status.PodDisruptionsAllowed < 1 { - return fmt.Errorf("no enough pod disruption budget to move %s/%s", pod.Namespace, pod.Name) + return fmt.Errorf("not enough pod disruption budget to move %s/%s", pod.Namespace, pod.Name) } } }