1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

skip monitors that are not managed by OctoDNS

This commit is contained in:
Sham
2021-06-30 12:11:54 -07:00
parent 4f5f02a70a
commit 303e439a54

View File

@@ -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