commit 8eae9f17ae87e16ab7595544d858e9371d9068c2
parent 21ec9017f60a0f7f9fc04782bc4bab6b836f0758
Author: David Goulet <dgoulet@torproject.org>
Date: Wed, 24 May 2023 10:42:00 -0400
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>
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/changes/ticket40546 b/changes/ticket40546
@@ -0,0 +1,3 @@
+ o Minor feature (MetricsPort, relay):
+ - Expose time until online keys expires on the MetricsPort. Closes ticket
+ 40546.
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c
@@ -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);
}
}