Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit e90d38e

Browse files
committed
handle case where zone and account disallow load balancing
1 parent cf595ab commit e90d38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CloudFlare/tests/test_load_balancers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def test_load_balancers_pool_health():
215215

216216
def test_load_balancers_pool_delete_should_fail():
217217
""" test_load_balancers_pool_delete_should_fail """
218-
if pool_id is None:
218+
if pool_id is None or load_balancer_id is None:
219219
print('/accounts/load_balancers/pools: DELETE: skip', file=sys.stderr)
220220
return
221221
try:

0 commit comments

Comments
 (0)