mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Some syntax and style improvements
This commit is contained in:
@@ -546,11 +546,9 @@ class Route53Provider(BaseProvider):
|
||||
return self._health_checks
|
||||
|
||||
def _healthcheck_measure_latency(self, record):
|
||||
return (
|
||||
record._octodns.get('route53', {})
|
||||
.get('healthcheck', {})
|
||||
return record._octodns.get('route53', {}) \
|
||||
.get('healthcheck', {}) \
|
||||
.get('measure_latency', True)
|
||||
)
|
||||
|
||||
def _health_check_equivilent(self, host, path, protocol, port,
|
||||
measure_latency, health_check,
|
||||
|
Reference in New Issue
Block a user