use make_absolute function

This commit is contained in:
Ivan Schaller 2024-06-27 21:26:56 +02:00 committed by GitHub
parent 0051c30b8d
commit 60b3226361
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -438,4 +438,5 @@ class NetBoxDNSProvider(octodns.provider.base.BaseProvider):
"""
query_params = {"status": "active", **self.nb_view}
zones = self.api.plugins.netbox_dns.zones.filter(**query_params)
return sorted([z.name + ("." if z.name[-1] != "." else "") for z in zones])
return sorted([self._make_absolute(z.name) for z in zones])