mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
add success-message instead of description on health checks (#1268)
This commit is contained in:
@@ -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<String>,
|
||||
#[serde(flatten)]
|
||||
implementation: ActionImplementation,
|
||||
pub timeout: Option<Duration>,
|
||||
|
||||
Reference in New Issue
Block a user