add version to stats

This commit is contained in:
jb-alvarado 2024-01-29 08:23:21 +01:00
parent 9bc960e31c
commit 38dd823ef3
2 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,7 @@ pub struct MySystem {
pub name: Option<String>,
pub kernel: Option<String>,
pub version: Option<String>,
pub ffp_version: Option<String>,
}
#[derive(Debug, Serialize)]
@ -148,6 +149,7 @@ pub fn stat(config: PlayoutConfig) -> SystemStat {
name: System::name(),
kernel: System::kernel_version(),
version: System::os_version(),
ffp_version: Some(env!("CARGO_PKG_VERSION").to_string()),
};
SystemStat {

@ -1 +1 @@
Subproject commit 413406ca6e8da802ee272e100611029b01190120
Subproject commit f04d9ce0e0df1c79c037b9585c175fa93c35ea35