mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
drop method names from exceptions
This commit is contained in:
@@ -644,8 +644,8 @@ class AzureProvider(BaseProvider):
|
||||
# Throw exception otherwise, it should not happen if the
|
||||
# profile was generated by octoDNS
|
||||
if 'GEO-AS' not in geo_map:
|
||||
msg = '_data_for_dynamic: Profile={}: '.format(
|
||||
geo_profile.name)
|
||||
msg = 'Profile={} for record {}: '.format(
|
||||
geo_profile.name, azrecord.fqdn)
|
||||
msg += 'Middle East (GEO-ME) is not supported by ' + \
|
||||
'octoDNS. It needs to be either paired ' + \
|
||||
'with Asia (GEO-AS) or expanded into ' + \
|
||||
@@ -782,9 +782,9 @@ class AzureProvider(BaseProvider):
|
||||
elif ep.target:
|
||||
ep.type = endpoint_type_prefix + 'externalEndpoints'
|
||||
else:
|
||||
msg = ('_generate_tm_profile: Invalid endpoint {} ' +
|
||||
'in profile {}, needs to have either target or ' +
|
||||
'target_resource_id').format(ep.name, name)
|
||||
msg = ('Invalid endpoint {} in profile {}, needs to have' +
|
||||
'either target or target_resource_id').format(
|
||||
ep.name, name)
|
||||
raise AzureException(msg)
|
||||
|
||||
# build and return
|
||||
@@ -1032,7 +1032,7 @@ class AzureProvider(BaseProvider):
|
||||
if getattr(record, 'dynamic', False):
|
||||
self._traffic_managers_gc(record, set())
|
||||
|
||||
self.log.debug('* Success Delete: {}'.format(ar))
|
||||
self.log.debug('* Success Delete: {}'.format(record))
|
||||
|
||||
def _apply(self, plan):
|
||||
'''Required function of manager.py to actually apply a record change.
|
||||
|
||||
Reference in New Issue
Block a user