snapshot: ui: Remove NUMBER_MIN_AGE setting and add FREE_LIMIT

The free space limit value is allowed to a maximum of 60%, since setting the
it to a value higher than possible will effectively disable snapshotting.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org
This commit is contained in:
Joseph Nuthalapati authored and Sunil Mohan Adapa committed 2019-01-08 13:59:15 -08:00
1 parent 8ba0bda869
commit f68070c758
4 files changed
+18 -20

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ def subcommand_get_config(_):
def subcommand_migrate(_):
"""Migrate existing user configuration for snapshots
to the new configuration format.
Add in version 4 of the snapshots module.
Added in version 4 of the snapshots module.
This command will not check or perform first setup steps.
"""
config = _get_config()