swarm-wire: take wanted's wire types
This commit is contained in:
parent
c6b1364684
commit
266be0a5db
17 changed files with 298 additions and 282 deletions
|
|
@ -33,7 +33,7 @@ use std::collections::BTreeSet;
|
|||
use std::sync::Arc;
|
||||
|
||||
use anyhow::{Context, Result, bail};
|
||||
use swarm_queue_client::wanted::{AgentState, HiveWanted};
|
||||
use swarm_wire::wanted::{AgentState, HiveWanted};
|
||||
use swarm_secret_client::{SecretStore, mtls, queue};
|
||||
use x509_cert::der::DecodePem as _;
|
||||
|
||||
|
|
@ -429,7 +429,7 @@ pub fn spawn(
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use swarm_queue_client::wanted::AgentWanted;
|
||||
use swarm_wire::wanted::AgentWanted;
|
||||
|
||||
const NOW: i64 = 1_790_000_000;
|
||||
const DAY: i64 = 86_400;
|
||||
|
|
|
|||
Loading…
Reference in a new issue