mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-11-18 19:41:05 +01:00
fix(NRC): PR feedback fixes
This commit is contained in:
parent
445ad9a1b5
commit
06e246ff30
@ -611,7 +611,7 @@ func (nrc *NetworkRoutingController) isPeerEstablished(peerIP string) (bool, err
|
|||||||
return peerDisconnected, nil
|
return peerDisconnected, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// cleanupTunnels removes any traces of tunnels / routes that were setup by nrc.setupOverlayTunnel() and are no longer
|
// cleanupTunnel removes any traces of tunnels / routes that were setup by nrc.setupOverlayTunnel() and are no longer
|
||||||
// needed. All errors are logged only, as we want to attempt to perform all cleanup actions regardless of their success
|
// needed. All errors are logged only, as we want to attempt to perform all cleanup actions regardless of their success
|
||||||
func (nrc *NetworkRoutingController) cleanupTunnel(destinationSubnet *net.IPNet, tunnelName string) {
|
func (nrc *NetworkRoutingController) cleanupTunnel(destinationSubnet *net.IPNet, tunnelName string) {
|
||||||
klog.V(1).Infof("Cleaning up old routes for %s if there are any", destinationSubnet.String())
|
klog.V(1).Infof("Cleaning up old routes for %s if there are any", destinationSubnet.String())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user