mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Handle and test for old-style NS1 catchall naming pattern
This commit is contained in:
@@ -455,6 +455,9 @@ class Ns1Provider(BaseProvider):
|
||||
return data
|
||||
|
||||
def _parse_dynamic_pool_name(self, pool_name):
|
||||
if pool_name.startswith('catchall__'):
|
||||
# Special case for the old-style catchall prefix
|
||||
return pool_name[10:]
|
||||
try:
|
||||
pool_name, _ = pool_name.rsplit('__', 1)
|
||||
except ValueError:
|
||||
|
Reference in New Issue
Block a user