Skip to content

Commit

Permalink
fix: change new PDB default from min to max unavail
Browse files Browse the repository at this point in the history
  • Loading branch information
dhenkel92 committed Dec 6, 2023
1 parent 1ab7a98 commit 2b84de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/create_pdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (o *CreatePDBOptions) Complete(cmd *cobra.Command, args []string) error {
o.maxUnavail = utils.StrToIntOrString(o.maxUnavailStr)
}
if o.maxUnavail == nil && o.minAvail == nil {
o.minAvail = utils.StrToIntOrString("1")
o.maxUnavail = utils.StrToIntOrString("1")
}

return nil
Expand Down

0 comments on commit 2b84de5

Please sign in to comment.