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:
@@ -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
|
||||
|
Reference in New Issue
Block a user