mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
1.0 RC: Remove deprecated provider, source, and processor shims
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Ignores AWS ACM validation CNAME records.
|
||||
#
|
||||
|
||||
from logging import getLogger
|
||||
|
||||
logger = getLogger('Route53')
|
||||
try:
|
||||
logger.warning(
|
||||
'octodns_route53 shimmed. Update your processor class to '
|
||||
'octodns_route53.processor.AwsAcmMangingProcessor. '
|
||||
'Shim will be removed in 1.0'
|
||||
)
|
||||
from octodns_route53.processor import AwsAcmMangingProcessor
|
||||
|
||||
AwsAcmMangingProcessor # pragma: no cover
|
||||
except ModuleNotFoundError:
|
||||
logger.exception(
|
||||
'AwsAcmMangingProcessor has been moved into a separate '
|
||||
'module, octodns_route53 is now required. Processor '
|
||||
'class should be updated to '
|
||||
'octodns_route53.processor.AwsAcmMangingProcessor'
|
||||
)
|
||||
raise
|
||||
Reference in New Issue
Block a user