mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +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)]
|
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||||
|
#[serde(rename_all = "kebab-case")]
|
||||||
pub struct HealthCheck {
|
pub struct HealthCheck {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub description: String,
|
pub success_message: Option<String>,
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
implementation: ActionImplementation,
|
implementation: ActionImplementation,
|
||||||
pub timeout: Option<Duration>,
|
pub timeout: Option<Duration>,
|
||||||
|
|||||||
Reference in New Issue
Block a user