Skip to content

Commit

Permalink
Comment: Fixed an inappropriate test expression to remove a logical s…
Browse files Browse the repository at this point in the history
…hort circuit.
  • Loading branch information
munahaf committed Sep 20, 2023
1 parent f7ddba8 commit 150d08b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ def _wait_for_asm_ready(self):
else:
raise F5ModuleError(resp.content)

if len(response['items']) >= 0:
if len(response['items']) > 0:
nops += 1
else:
nops = 0
Expand Down Expand Up @@ -938,7 +938,7 @@ def _wait_for_afm_ready(self):
else:
raise F5ModuleError(resp.content)

if len(response['items']) >= 0:
if len(response['items']) > 0:
nops += 1
else:
nops = 0
Expand Down Expand Up @@ -974,7 +974,7 @@ def _wait_for_cgnat_ready(self):
else:
raise F5ModuleError(resp.content)

if len(response['items']) >= 0:
if len(response['items']) > 0:
nops += 1
else:
nops = 0
Expand Down Expand Up @@ -1010,7 +1010,7 @@ def _wait_for_mgmt_ready(self):
else:
raise F5ModuleError(resp.content)

if len(response['items']) >= 0:
if len(response['items']) > 0:
nops += 1
else:
nops = 0
Expand Down

0 comments on commit 150d08b

Please sign in to comment.