mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-21 04:51:18 +01:00
fix(service_endpoints_sync.go): use save command
This commit is contained in:
parent
9abe20d581
commit
c92f76aadf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user