Skip to content

Commit

Permalink
fix wrong variable name uses in validation method to check alloc-pool
Browse files Browse the repository at this point in the history
delete
Closes-Bug: #1728024

Change-Id: I06a215982bf38679b30912e05278a4d3338f87f3
  • Loading branch information
moghea committed Oct 27, 2017
1 parent 1b6bcbe commit 3fe6239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/api-server/vnc_cfg_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ def _vrouter_check_alloc_pool_delete(self, db_vr_dict, req_vr_dict,

ipam_refs = req_vr_dict.get('network_ipam_refs')
if not ipam_refs:
iip_refs = db_dict.get('instance_ip_back_refs')
iip_refs = db_vr_dict.get('instance_ip_back_refs')
if iip_refs:
return (False,
'Cannot Delete allocation pool,ip address in use')
Expand Down

0 comments on commit 3fe6239

Please sign in to comment.