Merge pull request #2907 from Netflix/fix_write_domains_on_failure_01

fixing issue where set_domains() is still called when get_all_zones()…
This commit is contained in:
csine-nflx
2020-01-31 13:18:00 -08:00
committed by GitHub

View File

@ -35,7 +35,6 @@ def get_all_zones():
print("[+] Error with DNS Provider {}: {}".format(dns_provider.name, e))
log_data["message"] = f"get all zones failed for {dns_provider} {e}."
sentry.captureException(extra=log_data)
set_domains(dns_provider, [])
status = SUCCESS_METRIC_STATUS