Skip to content

Commit

Permalink
RUST-623 Upgrade os_info to 3.0.1 (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
No9 authored Jan 14, 2021
1 parent 7aff2e2 commit 3639656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ hex = "0.4.0"
hmac = "~0.7.1"
lazy_static = "1.4.0"
md-5 = "0.8.0"
os_info = { version = "2.0.6", default-features = false }
os_info = { version = "3.0.1", default-features = false }
percent-encoding = "2.0.0"
rand = { version = "0.7.2", features = ["small_rng"] }
serde_with = "1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion src/cmap/establish/handshake/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ lazy_static! {
if info.os_type() != Type::Unknown {
let version = info.version();

if *version != Version::unknown() {
if *version != Version::Unknown {
metadata.os.version = Some(info.version().to_string());
}
}
Expand Down

0 comments on commit 3639656

Please sign in to comment.