Skip to content

Commit

Permalink
libdns/porkbun: Bump libdns version to v0.2.2 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Monviech authored May 30, 2024
1 parent c5d0f88 commit 6dda640
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module github.com/libdns/porkbun

go 1.20

require github.com/libdns/libdns v0.2.1
require github.com/libdns/libdns v0.2.2

require github.com/joho/godotenv v1.5.1
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/libdns/libdns v0.2.1 h1:Wu59T7wSHRgtA0cfxC+n1c/e+O3upJGWytknkmFEDis=
github.com/libdns/libdns v0.2.1/go.mod h1:yQCXzk1lEZmmCPa857bnk4TsOiqYasqpyOEeSObbb40=
github.com/libdns/libdns v0.2.2 h1:O6ws7bAfRPaBsgAYt8MDe2HcNBGC29hkZ9MX2eUSX3s=
github.com/libdns/libdns v0.2.2/go.mod h1:4Bj9+5CQiNMVGf87wjX4CY3HQJypUHRuLvlsfsZqLWQ=
2 changes: 1 addition & 1 deletion models.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (record pkbnRecord) toLibdnsRecord(zone string) libdns.Record {
return libdns.Record{
ID: record.ID,
Name: libdns.RelativeName(record.Name, LibdnsZoneToPorkbunDomain(zone)),
Priority: priority,
Priority: uint(priority),
TTL: ttl,
Type: record.Type,
Value: record.Content,
Expand Down

0 comments on commit 6dda640

Please sign in to comment.