Skip to content

Commit 85d1d31

Browse files
build(deps): bump deranged from 0.4.0 to 0.4.1 (#3805)
* build(deps): bump deranged from 0.4.0 to 0.4.1 Bumps [deranged](https://github.com/jhpratt/deranged) from 0.4.0 to 0.4.1. - [Commits](https://github.com/jhpratt/deranged/commits) --- updated-dependencies: - dependency-name: deranged dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * fix(proxy/tap): fix inference error jhpratt/deranged#19 `deranged` added some additional interfaces in 0.4.1 that seem to affect this `Into<T>` invocation. use `From::from` instead, so we can explicitly indicate that we wish to convert this into an integer for comparison. Signed-off-by: katelyn martin <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: katelyn martin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: katelyn martin <[email protected]>
1 parent a7c12ea commit 85d1d31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@ dependencies = [
475475

476476
[[package]]
477477
name = "deranged"
478-
version = "0.4.0"
478+
version = "0.4.1"
479479
source = "registry+https://github.com/rust-lang/crates.io-index"
480-
checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
480+
checksum = "28cfac68e08048ae1883171632c2aef3ebc555621ae56fbccce1cbf22dd7f058"
481481
dependencies = [
482482
"powerfmt",
483483
]

linkerd/proxy/tap/src/grpc/match_.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ impl TryFrom<observe_request::r#match::Http> for HttpMatch {
281281

282282
m.r#match.ok_or(InvalidMatch::Empty).and_then(|m| match m {
283283
Pb::Scheme(s) => s.r#type.ok_or(InvalidMatch::Empty).and_then(|s| match s {
284-
Type::Registered(reg) if reg == Registered::Http.into() => {
284+
Type::Registered(reg) if reg == i32::from(Registered::Http) => {
285285
Ok(HttpMatch::Scheme(http::uri::Scheme::HTTP))
286286
}
287-
Type::Registered(reg) if reg == Registered::Https.into() => {
287+
Type::Registered(reg) if reg == i32::from(Registered::Https) => {
288288
Ok(HttpMatch::Scheme(http::uri::Scheme::HTTPS))
289289
}
290290
Type::Registered(_) => Err(InvalidMatch::InvalidScheme),

0 commit comments

Comments
 (0)