Skip to content

Commit d3b0d56

Browse files
scripts: Fix kill-host-pods script (#4835) (#4840)
1 parent f5efb0a commit d3b0d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kill-host-pods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def post_filter_has_snap_data_mounts(pod) -> bool:
4141
hostpath_volume = volume.get("hostPath", {})
4242
host_path = hostpath_volume.get("path", "")
4343
if not host_path:
44-
return False
44+
continue
4545
if host_path.startswith(SNAP_DATA_CURRENT):
4646
return True
4747

0 commit comments

Comments
 (0)