Skip to content

Commit

Permalink
Use NewCloudDNSService function
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz committed Sep 9, 2024
1 parent 1ba49ce commit 0a34f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func main() {
// Setup DNS service.
ds, err := dns.NewService(mainCtx)
rtx.Must(err, "failed to create new dns service")
d := &dnsiface.CloudDNSService{Service: ds}
d := dnsiface.NewCloudDNSService(ds)

// Setup IATA, maxmind, and asn sources.
i, err := iata.New(mainCtx, iataSrc.URL)
Expand Down

0 comments on commit 0a34f47

Please sign in to comment.