Skip to content

Commit

Permalink
scripts: Fix kill-host-pods script (#4835) (#4842)
Browse files Browse the repository at this point in the history
  • Loading branch information
HomayoonAlimohammadi authored Jan 24, 2025
1 parent e5f4a73 commit bfb86c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kill-host-pods.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def post_filter_has_snap_data_mounts(pod) -> bool:
hostpath_volume = volume.get("hostPath", {})
host_path = hostpath_volume.get("path", "")
if not host_path:
return False
continue
if host_path.startswith(SNAP_DATA_CURRENT):
return True

Expand Down

0 comments on commit bfb86c3

Please sign in to comment.