X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=python%2Fcumulus%2Fcmd_util.py;h=e0b094dc908b59a8ebec90343f93089e7358f9f1;hp=da2fb479f55e2cc53d6bd2d306f07965184b1845;hb=3d780590edec4583eb3ef0ca16120afd0f7451f9;hpb=dd3fe2c70bef48563e0f67b7cb259f00bb42f45c diff --git a/python/cumulus/cmd_util.py b/python/cumulus/cmd_util.py index da2fb47..e0b094d 100644 --- a/python/cumulus/cmd_util.py +++ b/python/cumulus/cmd_util.py @@ -59,7 +59,7 @@ def cmd_clean(args, clean_threshold=7.0): # Delete old snapshots from the local database. intent = float(options.intent) for s in db.list_schemes(): - db.garbage_collect(s, intent) + db.prune_old_snapshots(s, intent) # Expire segments which are poorly-utilized. for s in db.get_segment_cleaning_list():