mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
fix API incorrect behaviour while returning records data: API always must return type in upper case, but at this moment it returns record type as it was provided on record creation
This commit is contained in:
@@ -141,7 +141,7 @@ class GCoreProvider(BaseProvider):
|
||||
values = defaultdict(defaultdict)
|
||||
records, exists = self.zone_records(zone)
|
||||
for record in records:
|
||||
_type = record["type"]
|
||||
_type = record["type"].upper()
|
||||
if _type not in self.SUPPORTS:
|
||||
continue
|
||||
rr_name = record["name"].replace(zone.name, "")
|
||||
|
||||
Reference in New Issue
Block a user