metrics: Add ticket 40546 changes file and code fix

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>
This commit is contained in:
David Goulet
2023-05-24 10:42:00 -04:00
parent 21ec9017f6
commit 8eae9f17ae
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor feature (MetricsPort, relay):
- Expose time until online keys expires on the MetricsPort. Closes ticket
40546.
+1 -1
View 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);
}
}