Merge "Fix KeyError exception upon service/deployment deletion"
This commit is contained in:
commit
234197712b
@ -305,7 +305,8 @@ class LoadBalancerHandler(k8s_base.ResourceEventHandler):
|
|||||||
continue
|
continue
|
||||||
except KeyError:
|
except KeyError:
|
||||||
continue
|
continue
|
||||||
|
if not pool_by_tgt_name:
|
||||||
|
continue
|
||||||
for subset_port in subset_ports:
|
for subset_port in subset_ports:
|
||||||
target_port = subset_port['port']
|
target_port = subset_port['port']
|
||||||
if (target_ip, target_port) in current_targets:
|
if (target_ip, target_port) in current_targets:
|
||||||
|
Loading…
Reference in New Issue
Block a user