garethgeorge / backrest

Backrest is a web UI and orchestrator for restic backup.
GNU General Public License v3.0
1.11k stars 37 forks source link

Prune Policy does not allow decimal numbers #477

Open modem opened 2 days ago

modem commented 2 days ago

When showing a plan options, the prune policy Max Unused after prune option shows as a float: image but if trying to change to a decimal number, it triggers an error when trying to save: image Seems this option is defined as int32, but I would expect it to be a float. Or at least to show the interface consistently with kind of values we can save.

garethgeorge commented 2 days ago

Thanks for the report! This definitely is definitely a bug, I'll patch this by converting the field to a float in the next bugfix release.