Skip to content

Commit

Permalink
handle case where zone and account disallow load balancing
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Jan 22, 2024
1 parent cf595ab commit e90d38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CloudFlare/tests/test_load_balancers.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_load_balancers_pool_health():

def test_load_balancers_pool_delete_should_fail():
""" test_load_balancers_pool_delete_should_fail """
if pool_id is None:
if pool_id is None or load_balancer_id is None:
print('/accounts/load_balancers/pools: DELETE: skip', file=sys.stderr)
return
try:
Expand Down

0 comments on commit e90d38e

Please sign in to comment.