Format new changes
This commit is contained in:
parent
080deb7974
commit
188c8b20f6
|
@ -828,7 +828,12 @@ impl LoxServerContext {
|
||||||
};
|
};
|
||||||
// TODO: Forward this information to rdsys
|
// TODO: Forward this information to rdsys
|
||||||
for bridge_str in blocked_bridges.keys() {
|
for bridge_str in blocked_bridges.keys() {
|
||||||
if self.tp_bridge_infos.lock().unwrap().contains_key(bridge_str) {
|
if self
|
||||||
|
.tp_bridge_infos
|
||||||
|
.lock()
|
||||||
|
.unwrap()
|
||||||
|
.contains_key(bridge_str)
|
||||||
|
{
|
||||||
let bl = self
|
let bl = self
|
||||||
.tp_bridge_infos
|
.tp_bridge_infos
|
||||||
.lock()
|
.lock()
|
||||||
|
|
|
@ -77,7 +77,10 @@ mod tests {
|
||||||
use base64::{engine::general_purpose, Engine};
|
use base64::{engine::general_purpose, Engine};
|
||||||
use chrono::{Duration, Utc};
|
use chrono::{Duration, Utc};
|
||||||
use julianday::JulianDay;
|
use julianday::JulianDay;
|
||||||
use lox_library::{bridge_table, bridge_table::BridgeLine, cred::BucketReachability, proto, BridgeAuth, BridgeDb};
|
use lox_library::{
|
||||||
|
bridge_table, bridge_table::BridgeLine, cred::BucketReachability, proto, BridgeAuth,
|
||||||
|
BridgeDb,
|
||||||
|
};
|
||||||
use rand::RngCore;
|
use rand::RngCore;
|
||||||
use std::sync::{Arc, Mutex};
|
use std::sync::{Arc, Mutex};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue