Skip to content

Commit

Permalink
anyhow version to 1.0.62
Browse files Browse the repository at this point in the history
  • Loading branch information
Keksoj committed Aug 18, 2022
1 parent 1d6722e commit ecf0353
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 58 deletions.
135 changes: 82 additions & 53 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include = [
name = "sozu"

[dependencies]
anyhow = "=1.0.59"
anyhow = "^1.0.62"
async-dup = "^1.2.2"
async-io = "^1.7.0"
clap = { version = "^3.2.16", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion command/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include = [
]

[dependencies]
anyhow = "=1.0.59"
anyhow = "^1.0.62"
hex = "^0.4.3"
libc = "^0.2.127"
log = "^0.4.17"
Expand Down
6 changes: 3 additions & 3 deletions lib/src/metrics/local_drain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ impl LocalDrain {
let mut response: BTreeMap<String, BTreeMap<String, BTreeMap<String, FilteredData>>> =
BTreeMap::new();
for (cluster_id, backend_id) in backends.iter() {
let t = response
response
.entry(cluster_id.to_string())
.or_insert_with(BTreeMap::new);
t.insert(backend_id.to_string(), BTreeMap::new());
.or_insert_with(BTreeMap::new)
.insert(backend_id.to_string(), BTreeMap::new());
}

let timestamp = date.unwrap_or_else(|| {
Expand Down

0 comments on commit ecf0353

Please sign in to comment.