Skip to content

Commit

Permalink
Don't delete iptables.lock out from under other jobs when prestarting…
Browse files Browse the repository at this point in the history
… garden-cni

Signed-off-by: Amelia Downs <[email protected]>
  • Loading branch information
geofffranks authored and ameowlia committed Jul 18, 2024
1 parent 7b7e617 commit 41292fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobs/garden-cni/templates/pre-start.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash -eu

rm -rf /var/vcap/data/garden-cni || true
rm -rf /var/vcap/data/garden-cni/container-netns || true
rm -rf /var/vcap/data/garden-cni/external-networker-state.json || true

0 comments on commit 41292fe

Please sign in to comment.