Skip to content

Commit

Permalink
add freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
fierceX committed Jul 24, 2024
1 parent 03b626d commit f3b2a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ impl StatsMgr {
];
if !o.labels.contains("os=") {
if let Some(sys_info) = &o.sys_info {
let os_r = sys_info.os_release.to_lowercase();
let os_r = format!("{} {}",sys_info.os_release.to_lowercase(),sys_info.os_name.to_lowercase());
for s in OS_LIST.iter() {
if os_r.contains(s) {
if o.labels.is_empty() {
Expand Down

0 comments on commit f3b2a8a

Please sign in to comment.