Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
wal-g-exporter: Handle empty backup list, for new buckets.
Alex Vandiver4f67c1dbf1b9
diff --git a/puppet/zulip/files/postgresql/wal-g-exporter b/puppet/zulip/files/postgresql/wal-g-exporterindex 681dc404a7f..1aaaf5e5b78 100755--- a/puppet/zulip/files/postgresql/wal-g-exporter+++ b/puppet/zulip/files/postgresql/wal-g-exporter@@ -107,7 +107,7 @@ class WalGPrometheusServer(BaseHTTPRequestHandler):text=True,env=modified_env,)- data = json.loads(backup_list_output)+ data = json.loads(backup_list_output) if backup_list_output else []backup_count(len(data), {"bucket": bucket})backup_total_compressed_size_bytes(