Skip to content

Commit

Permalink
test(robot): fix syntax in node.py
Browse files Browse the repository at this point in the history
Signed-off-by: Chris <[email protected]>
  • Loading branch information
chriscchien authored and yangchiu committed Aug 14, 2024
1 parent fbbf423 commit fd8be40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/libs/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def wait_for_disk_update(self, node_name, disk_num):
all_updated = True
disks = node.disks
for d in disks:
if disks[d]["diskUUID"] == "" or
not disks[d]["conditions"] or
disks[d]["conditions"]["Ready"]["status"] != "True" or
if disks[d]["diskUUID"] == "" or \
not disks[d]["conditions"] or \
disks[d]["conditions"]["Ready"]["status"] != "True" or \
disks[d]["conditions"]["Schedulable"]["status"] != "True":
all_updated = False
break
Expand Down

0 comments on commit fd8be40

Please sign in to comment.