Set 256 as limit for maxDescriptionLength. 256 comes from MAX value for key and value

Signed-off-by: MrJack <36191829+biagiopietro@users.noreply.github.com>
pull/31580/head
MrJack 5 months ago
parent d0b0b677db
commit 218e45096b

@ -39,7 +39,7 @@ To see revision numbers, run 'helm history RELEASE'.
`
// maxDescriptionLength is the maximum length allowed for a rollback description
const maxDescriptionLength = 512
const maxDescriptionLength = 256
func newRollbackCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
client := action.NewRollback(cfg)

Loading…
Cancel
Save