Commit 0a7ff7fa authored by Ferran Rodenas's avatar Ferran Rodenas Committed by Ferran Rodenas

Fix kubectl Pod Disruption Budget V2 max-unavailable parameter

parent 7f9f847c
......@@ -142,7 +142,7 @@ func (s PodDisruptionBudgetV2Generator) Generate(params map[string]interface{})
return nil, fmt.Errorf("expected string, found %v", minAvailable)
}
maxUnavailable, isString := params["max-available"].(string)
maxUnavailable, isString := params["max-unavailable"].(string)
if !isString {
return nil, fmt.Errorf("expected string, found %v", maxUnavailable)
}
......
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