From 06e246ff30218df8703cab8d5a2cca4912f4ed2c Mon Sep 17 00:00:00 2001 From: Aaron U'Ren Date: Thu, 22 Jul 2021 14:14:45 -0500 Subject: [PATCH] fix(NRC): PR feedback fixes --- pkg/controllers/routing/network_routes_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/routing/network_routes_controller.go b/pkg/controllers/routing/network_routes_controller.go index 18ba3990..a52bb726 100644 --- a/pkg/controllers/routing/network_routes_controller.go +++ b/pkg/controllers/routing/network_routes_controller.go @@ -611,7 +611,7 @@ func (nrc *NetworkRoutingController) isPeerEstablished(peerIP string) (bool, err 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 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())