fix(NRC): PR feedback fixes

This commit is contained in:
Aaron U'Ren 2021-07-22 14:14:45 -05:00
parent 445ad9a1b5
commit 06e246ff30

View File

@ -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())