typo
This commit is contained in:
@@ -76,12 +76,6 @@ impl Storage {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
gw.last_probe_log as "last_probe_log?",
|
||||
gw.ports_check as "ports_check?",
|
||||
|
||||
gw.last_testrun_utc as "last_testrun_utc?",
|
||||
.await?;
|
||||
.await?;
|
||||
pub(crate) async fn get_all_gateways(&self) -> anyhow::Result<Vec<Gateway>> {
|
||||
let items = sqlx::query_as!(
|
||||
GatewayDto,
|
||||
|
||||
@@ -170,7 +170,6 @@ fn conversion_from_gw_probe_latest() {
|
||||
let probe_latest = ProbeResultLatest {
|
||||
node: "test-node-identity-key".to_string(),
|
||||
used_entry: "test-entry-node".to_string(),
|
||||
ports_check: None,
|
||||
outcome: ProbeOutcomeLatest {
|
||||
as_entry: EntryLatest::Tested(EntryTestResultLatest {
|
||||
can_connect: true,
|
||||
|
||||
@@ -28,7 +28,7 @@ pub(crate) async fn start_http_api(
|
||||
shutdown_tracker: &ShutdownTracker,
|
||||
) -> anyhow::Result<()> {
|
||||
let router_builder = RouterBuilder::with_default_routes();
|
||||
let db_pool_for_scheduler = db_pool.clone();
|
||||
let db_pool_for_scheduler = storage.pool().clone();
|
||||
|
||||
let state = AppState::new(
|
||||
storage,
|
||||
|
||||
Reference in New Issue
Block a user