Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Refactor backup_manager.py to improve cleanup process and retention h…
Browse files Browse the repository at this point in the history
…andling
  • Loading branch information
Heavybullets8 committed May 29, 2024
1 parent de2278c commit 041d45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/backup_restore/backup_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import re
import shutil
from pathlib import Path
from base_manager import BaseManager
Expand Down Expand Up @@ -27,7 +28,6 @@ def export_chart_info(self, retention=None):
exporter = ChartInfoExporter(self.backup_abs_path)
exporter.export()
self.logger.info("Chart information export completed successfully")
self.cleanup_dangling_snapshots()
if retention is not None:
self.delete_old_exports(retention)

Expand Down

0 comments on commit 041d45a

Please sign in to comment.