Skip to content

Commit

Permalink
fix(service_endpoints_sync.go): use save command
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Oct 7, 2023
1 parent 9abe20d commit c92f76a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/proxy/service_endpoints_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,10 @@ func (nsc *NetworkServicesController) cleanupDSRService(fwMark uint32) error {
}

if nsc.isIPv4Capable {
cleanupTables("iptables")
cleanupTables("iptables-save")
}
if nsc.isIPv6Capable {
cleanupTables("ip6tables")
cleanupTables("ip6tables-save")
}

// cleanup the fwMarkMap to ensure that we don't accidentally build state
Expand Down

0 comments on commit c92f76a

Please sign in to comment.