mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-09 03:39:11 -08:00
proto: remove ttl from ZoneData
This commit is contained in:
1 parent
90409bfcaa
commit
129f696a65
2 files changed
+2
-7
No files matched your search
@@ -7,9 +7,8 @@ package dns;
|
||||
message ZoneData {
|
||||
common.UUID id = 1;
|
||||
string origin = 2;
|
||||
uint32 ttl = 3;
|
||||
repeated string records = 4;
|
||||
repeated common.Url forwarders = 5;
|
||||
repeated string records = 3;
|
||||
repeated common.Url forwarders = 4;
|
||||
}
|
||||
|
||||
message GetExportConfigRequest {}
|
||||
|
||||
@@ -22,10 +22,6 @@ impl Display for ZoneData {
|
||||
}
|
||||
writeln!(f)?;
|
||||
|
||||
writeln!(f, "$TTL {}", self.ttl)?;
|
||||
|
||||
writeln!(f)?;
|
||||
|
||||
for record in &self.records {
|
||||
writeln!(f, "{}", record)?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user