add version to stats
This commit is contained in:
parent
9bc960e31c
commit
38dd823ef3
@ -48,6 +48,7 @@ pub struct MySystem {
|
|||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
pub kernel: Option<String>,
|
pub kernel: Option<String>,
|
||||||
pub version: Option<String>,
|
pub version: Option<String>,
|
||||||
|
pub ffp_version: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize)]
|
#[derive(Debug, Serialize)]
|
||||||
@ -148,6 +149,7 @@ pub fn stat(config: PlayoutConfig) -> SystemStat {
|
|||||||
name: System::name(),
|
name: System::name(),
|
||||||
kernel: System::kernel_version(),
|
kernel: System::kernel_version(),
|
||||||
version: System::os_version(),
|
version: System::os_version(),
|
||||||
|
ffp_version: Some(env!("CARGO_PKG_VERSION").to_string()),
|
||||||
};
|
};
|
||||||
|
|
||||||
SystemStat {
|
SystemStat {
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 413406ca6e8da802ee272e100611029b01190120
|
Subproject commit f04d9ce0e0df1c79c037b9585c175fa93c35ea35
|
Loading…
x
Reference in New Issue
Block a user