Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Elsie4ever committed Jul 11, 2024
1 parent 2e4d307 commit c870f8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions azext_edge/tests/edge/support/test_support_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,9 +662,8 @@ def assert_list_pods(
"namespace: namespace\ntimestamp: '0000-00-00T00:00:00Z'\n",
)

if "prefix_names" in kwargs:
if pod_name not in kwargs["prefix_names"]:
continue
if pod_name not in kwargs.get("prefix_names", []):
continue

for container_name in pods_with_container[namespace][pod_name]:
data = (
Expand Down

0 comments on commit c870f8f

Please sign in to comment.