Azure load balancer crash fix (#45546)

This commit is contained in:
Zim Kalinowski 2018-09-12 16:25:35 +08:00 committed by Yunge Zhu
parent 3e508aa271
commit 73c8041ec0

View file

@ -910,7 +910,7 @@ def load_balancer_to_dict(load_balancer):
frontend_port=_.frontend_port,
backend_port=_.backend_port,
idle_timeout_in_minutes=_.idle_timeout_in_minutes,
enable_floating_point_ip=_.enable_floating_point_ip,
enable_floating_point_ip=_.enable_floating_point_ip if hasattr(_, 'enable_floating_point_ip') else False,
provisioning_state=_.provisioning_state,
etag=_.etag
) for _ in load_balancer.inbound_nat_rules]