Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix route53 alias to_print and change default health eval to False

  • Loading branch information...
commit e8e1de11657ac92ce37c1ed7919dc847484dc38a 1 parent 34fd139
@jimbrowne jimbrowne authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 boto/route53/record.py
View
4 boto/route53/record.py
@@ -255,7 +255,7 @@ def add_value(self, value):
self.resource_records.append(value)
def set_alias(self, alias_hosted_zone_id, alias_dns_name,
- alias_evaluate_target_health=True):
+ alias_evaluate_target_health=False):
"""Make this an alias resource record set"""
self.alias_hosted_zone_id = alias_hosted_zone_id
self.alias_dns_name = alias_dns_name
@@ -313,7 +313,7 @@ def to_print(self):
# Show alias
rr = 'ALIAS ' + self.alias_hosted_zone_id + ' ' + self.alias_dns_name
if self.alias_evaluate_target_health is not None:
- rr += ' (EvalTarget %s)' % ('true' if self.alias_evaluate_target_health else 'false')
+ rr += ' (EvalTarget %s)' % self.alias_evaluate_target_health
else:
# Show resource record(s)
rr = ",".join(self.resource_records)
Please sign in to comment.
Something went wrong with that request. Please try again.