8000 fix: fixed Archive Command delta source · postgrespro/mamonsu@37ebb08 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37ebb08

Browse files
committed
fix: fixed Archive Command delta source
1 parent 485d568 commit 37ebb08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mamonsu/plugins/pgsql/archive_command.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ class ArchiveCommand(Plugin):
5858
name = "PostgreSQL archive command {0}"
5959
Items = [
6060
# key, desc, color, side, graph, delta, units
61-
("count_files_to_archive", "Files in archive_status Need to Archive Count", "9C8A4E", 0, 1, Plugin.DELTA.as_is, self.UNITS.none),
62-
("size_files_to_archive", "Files Need to Archive Size", "793F5D", 0, 0, Plugin.DELTA.as_is, self.UNITS.bytes),
63-
("archived_files", "Archived Files Count", "578159", 0, 1, Plugin.DELTA.simple_change, self.UNITS.none),
64-
("failed_trying_to_archive", "Attempts to Archive Files Count", "E57862", 0, 1, Plugin.DELTA.simple_change, self.UNITS.none),
61+
("count_files_to_archive", "Files in archive_status Need to Archive Count", "9C8A4E", 0, 1, Plugin.DELTA.as_is, Plugin.UNITS.none),
62+
("size_files_to_archive", "Files Need to Archive Size", "793F5D", 0, 0, Plugin.DELTA.as_is, Plugin.UNITS.bytes),
63+
("archived_files", "Archived Files Count", "578159", 0, 1, Plugin.DELTA.simple_change, Plugin.UNITS.none),
64+
("failed_trying_to_archive", "Attempts to Archive Files Count", "E57862", 0, 1, Plugin.DELTA.simple_change, Plugin.UNITS.none),
6565
]
6666
old_archived_count = None
6767
old_failed_count = None

0 commit comments

Comments
 (0)
0