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:
commit
02757359f0
|
@ -35,7 +35,6 @@ def get_all_zones():
|
||||||
print("[+] Error with DNS Provider {}: {}".format(dns_provider.name, e))
|
print("[+] Error with DNS Provider {}: {}".format(dns_provider.name, e))
|
||||||
log_data["message"] = f"get all zones failed for {dns_provider} {e}."
|
log_data["message"] = f"get all zones failed for {dns_provider} {e}."
|
||||||
sentry.captureException(extra=log_data)
|
sentry.captureException(extra=log_data)
|
||||||
set_domains(dns_provider, [])
|
|
||||||
|
|
||||||
status = SUCCESS_METRIC_STATUS
|
status = SUCCESS_METRIC_STATUS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue