summaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 6accf81..0afb5ee 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -47,14 +47,14 @@ pub struct HelloRequest {
#[derive(Debug, Clone)]
pub struct HelloReply {
- pub cluster_id: String,
+ pub swarm_id: String,
pub peers: Vec<String>,
pub epoch: Epoch,
}
#[derive(Debug, Clone)]
pub struct SyncEnvelope {
- pub cluster_id: String,
+ pub swarm_id: String,
/// Epoch of the document the message was generated from.
pub epoch: Epoch,
pub message: Message,