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>
MrJack 5 months ago
parent 9ff8ee9ced
commit 17ba1819da

@ -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