add hosted_zone information to ec2_elb_lb return

This commit is contained in:
Coderah 2015-02-06 15:18:15 -08:00 committed by Matt Clay
parent 103caa2853
commit 40c41ed4ec

View file

@ -328,7 +328,9 @@ class ElbManager(object):
'security_group_ids': check_elb.security_groups,
'status': self.status,
'subnets': self.subnets,
'scheme': check_elb.scheme
'scheme': check_elb.scheme,
'hosted_zone_name': check_elb.canonical_hosted_zone_name,
'hosted_zone_id': check_elb.canonical_hosted_zone_name_id
}
if check_elb.health_check: