From 63f0a3bca80be5a76834500ef81daec409ef18b9 Mon Sep 17 00:00:00 2001 From: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Date: Thu, 24 Feb 2022 12:58:56 -0700 Subject: [PATCH] add success-message instead of description on health checks (#1268) --- backend/src/status/health_check.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/status/health_check.rs b/backend/src/status/health_check.rs index 75185c880..c38f08330 100644 --- a/backend/src/status/health_check.rs +++ b/backend/src/status/health_check.rs @@ -84,9 +84,10 @@ impl HealthChecks { } #[derive(Clone, Debug, Deserialize, Serialize)] +#[serde(rename_all = "kebab-case")] pub struct HealthCheck { pub name: String, - pub description: String, + pub success_message: Option, #[serde(flatten)] implementation: ActionImplementation, pub timeout: Option,