]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
metrics: Add ticket 40546 changes file and code fix
authorDavid Goulet <dgoulet@torproject.org>
Wed, 24 May 2023 14:42:00 +0000 (10:42 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 24 May 2023 14:45:21 +0000 (10:45 -0400)
The MR was using an old function definition so the code fix is for that.

Closes #40546

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket40546 [new file with mode: 0644]
src/feature/relay/relay_metrics.c

diff --git a/changes/ticket40546 b/changes/ticket40546
new file mode 100644 (file)
index 0000000..93f19f7
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor feature (MetricsPort, relay):
+    - Expose time until online keys expires on the MetricsPort. Closes ticket
+      40546.
index 494cfb34dd9f9168fb3783c6e242ba308f31ddd0..5309411804abf332592377fd43a8336ae5c1de29 100644 (file)
@@ -1014,7 +1014,7 @@ fill_signing_cert_expiry(void)
     signing_key = get_master_signing_key_cert();
     if (signing_key) {
       sentry = metrics_store_add(the_store, rentry->type, rentry->name,
-                                 rentry->help);
+                                 rentry->help, 0, NULL);
       metrics_store_entry_update(sentry, signing_key->valid_until);
     }
   }