Skip to content

Commit e81ab61

Browse files
Adapt to the latest HTTP API client
1 parent c89bf68 commit e81ab61

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ reqwest = { version = "0.12.12", features = [
1717
"__rustls",
1818
"rustls-tls-native-roots"
1919
]}
20-
rabbitmq_http_client = { version = "0.25.0", features = [
20+
rabbitmq_http_client = { git = "https://github.com/michaelklishin/rabbitmq-http-api-rs.git", features = [
2121
"core",
2222
"blocking",
2323
"tabled"

src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn list_matching_policies_in(
131131
let candidates = list_policies_in_and_applying_to(client, vhost, typ.clone())?;
132132
let matching = candidates
133133
.iter()
134-
.filter(|&pol| pol.does_match(name, typ.clone()))
134+
.filter(|&pol| pol.does_match_name(vhost, name, typ.clone()))
135135
.cloned()
136136
.collect();
137137

0 commit comments

Comments
 (0)