Skip to content

Commit

Permalink
fixed stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Mar 24, 2024
1 parent e3bb6a1 commit 13d74b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/entity/src/try_from.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ pub trait IntoRecord {

impl IntoRecord for record_a::Model {
fn into_record(self, _origin: &Name) -> Result<RData, EntityError> {
Ok(RData::A(rdata::A(self.address.parse()?)))
Ok(RData::A(rdata::A(self.addr.parse()?)))
}
}

impl IntoRecord for record_aaaa::Model {
fn into_record(self, _origin: &Name) -> Result<RData, EntityError> {
Ok(RData::AAAA(rdata::AAAA(self.address.parse()?)))
Ok(RData::AAAA(rdata::AAAA(self.addr.parse()?)))
}
}

Expand Down

0 comments on commit 13d74b6

Please sign in to comment.