fix: fixed Archive Command delta source
@@ -58,10 +58,10 @@ class ArchiveCommand(Plugin):
name = "PostgreSQL archive command {0}"
Items = [
# key, desc, color, side, graph, delta, units
- ("count_files_to_archive", "Files in archive_status Need to Archive Count", "9C8A4E", 0, 1, Plugin.DELTA.as_is, self.UNITS.none),
- ("size_files_to_archive", "Files Need to Archive Size", "793F5D", 0, 0, Plugin.DELTA.as_is, self.UNITS.bytes),
- ("archived_files", "Archived Files Count", "578159", 0, 1, Plugin.DELTA.simple_change, self.UNITS.none),
- ("failed_trying_to_archive", "Attempts to Archive Files Count", "E57862", 0, 1, Plugin.DELTA.simple_change, self.UNITS.none),
+ ("count_files_to_archive", "Files in archive_status Need to Archive Count", "9C8A4E", 0, 1, Plugin.DELTA.as_is, Plugin.UNITS.none),
+ ("size_files_to_archive", "Files Need to Archive Size", "793F5D", 0, 0, Plugin.DELTA.as_is, Plugin.UNITS.bytes),
+ ("archived_files", "Archived Files Count", "578159", 0, 1, Plugin.DELTA.simple_change, Plugin.UNITS.none),
+ ("failed_trying_to_archive", "Attempts to Archive Files Count", "E57862", 0, 1, Plugin.DELTA.simple_change, Plugin.UNITS.none),
]
old_archived_count = None
old_failed_count = None
