Skip to content

Commit

Permalink
Merge pull request #6 from freym/caa_bytes_to_string
Browse files Browse the repository at this point in the history
caa records: convert bytes values to string
  • Loading branch information
olofvndrhr authored Sep 12, 2024
2 parents 6523761 + 5a35e1b commit 7b36a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/octodns_netbox_dns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ def _format_rdata(self, rcd_type: str, rcd_value: str) -> str | dict[str, Any]:
case "CAA":
value = {
"flags": rdata.flags,
"tag": rdata.tag,
"value": rdata.value,
"tag": rdata.tag.decode(),
"value": rdata.value.decode(),
}

case "LOC":
Expand Down

0 comments on commit 7b36a68

Please sign in to comment.