From 303e439a541731ed0bbe16ff7f16e0f78bbbe62e Mon Sep 17 00:00:00 2001 From: Sham Date: Wed, 30 Jun 2021 12:11:54 -0700 Subject: [PATCH] skip monitors that are not managed by OctoDNS --- octodns/provider/ns1.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/octodns/provider/ns1.py b/octodns/provider/ns1.py index bf08358..510b099 100644 --- a/octodns/provider/ns1.py +++ b/octodns/provider/ns1.py @@ -849,6 +849,8 @@ class Ns1Provider(BaseProvider): for monitor in self._client.monitors.values(): data = self._parse_notes(monitor['notes']) + if not data: + continue if expected_host == data['host'] and \ expected_type == data['type']: # This monitor does not belong to this record