Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 515dff2

Browse files
authored
Update example_dns_export.py
this parameter should be zone_name as dns_name was not being defined yet...
1 parent 96747e2 commit 515dff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_dns_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def main():
3737
try:
3838
dns_records = cf.zones.dns_records.export.get(zone_id)
3939
except CloudFlare.exceptions.CloudFlareAPIError as e:
40-
exit('/zones/dns_records/export %s - %d %s - api call failed' % (dns_name, e, e))
40+
exit('/zones/dns_records/export %s - %d %s - api call failed' % (zone_name, e, e))
4141

4242
for l in dns_records.splitlines():
4343
if len(l) == 0 or l[0] == ';':

0 commit comments

Comments
 (0)