Skip to content

Commit bed22a2

Browse files
committed
Merge pull request #2052 from cloudnativelabs/advisory-fix-1
fix(NRC): Remove debug logging of raw node annotations
1 parent 0e94d43 commit bed22a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/routing/network_routes_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ func (nrc *NetworkRoutingController) startBgpServer(grpcServer bool) error {
11261126
// If the global routing peer is configured then peer with it
11271127
// else attempt to get peers from node specific BGP annotations.
11281128
if len(nrc.globalPeerRouters) == 0 {
1129-
klog.V(2).Infof("Attempting to construct peer configs from annotation: %+v", node.Annotations)
1129+
klog.V(2).Info("Attempting to construct peer configs from node annotations")
11301130
peerCfgs, err := bgpPeerConfigsFromAnnotations(
11311131
node.Annotations,
11321132
nrc.krNode.GetPrimaryNodeIP().String(),

0 commit comments

Comments
 (0)