mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-31 16:29:05 +00:00
merge
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
use crate::utils::DeterministicDigest;
|
||||
use crate::proto::utils::TransientDigest;
|
||||
use std::fmt::Display;
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/dns.rs"));
|
||||
|
||||
impl HeartbeatRequest {
|
||||
pub fn update(&mut self, snapshot: DnsSnapshot) {
|
||||
self.digest = snapshot.digest();
|
||||
self.digest = snapshot.digest().into();
|
||||
self.snapshot = Some(snapshot);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user