mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
appmgr: add warning to actions
This commit is contained in:
committed by
Aiden McClelland
parent
53720130b3
commit
882cfde5f3
@@ -15,6 +15,9 @@ pub struct Action {
|
|||||||
pub id: String,
|
pub id: String,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub description: String,
|
pub description: String,
|
||||||
|
#[serde(default)]
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
pub warning: Option<String>,
|
||||||
pub allowed_statuses: LinearSet<DockerStatus>,
|
pub allowed_statuses: LinearSet<DockerStatus>,
|
||||||
pub command: Vec<String>,
|
pub command: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user