Skip to content

Commit

Permalink
Merge upstream changes into local fork
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeagher committed Jan 27, 2023
2 parents d571376 + fbe256c commit 0136833
Show file tree
Hide file tree
Showing 5 changed files with 196 additions and 102 deletions.
54 changes: 50 additions & 4 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async-trait = "0.1"
rand = "0.8"
chrono = "0.4"
sha-1 = "0.10"
toml = "0.5"
toml = "0.6"
serde = "1"
serde_derive = "1"
regex = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ where
for server in 0..pool.servers(shard) {
let address = pool.address(shard, server);
let pool_state = pool.pool_state(shard, server);
let banned = pool.is_banned(address, Some(address.role));
let banned = pool.is_banned(address);

res.put(data_row(&vec![
address.name(), // name
Expand Down
Loading

0 comments on commit 0136833

Please sign in to comment.