Skip to content

Commit 382c150

Browse files
committed
removed logging lines
1 parent ddc83b0 commit 382c150

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

npm/pkg/dataplane/dataplane_windows.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,21 +351,19 @@ func (dp *DataPlane) getLocalPodEndpoints() ([]*hcn.HostComputeEndpoint, error)
351351
klog.Info("getting local endpoints")
352352
timer := metrics.StartNewTimer()
353353
endpoints, err := dp.ioShim.Hns.ListEndpointsQuery(dp.endpointQuery.query)
354-
klog.Infof("There are %+v endpoints in AttachedSharing state", len(endpoints))
355354
metrics.RecordListEndpointsLatency(timer)
356355
if err != nil {
357356
metrics.IncListEndpointsFailures()
358357
return nil, npmerrors.SimpleErrorWrapper("failed to get local pod endpoints", err)
359358
}
360-
klog.Infof("NPM liste is enabled: %+v", dp.EnableNPMLite)
359+
361360
if dp.EnableNPMLite {
362361
timer = metrics.StartNewTimer()
363362
endpointsAttached, errL1vh := dp.ioShim.Hns.ListEndpointsQuery(dp.endpointQueryL1VH.query)
364363
if errL1vh != nil {
365364
metrics.IncListEndpointsFailures()
366365
return nil, npmerrors.SimpleErrorWrapper("failed to get local pod endpoints in L1VH", err)
367366
}
368-
klog.Infof("There are %+v endpoints in Attached state on l1vh", len(endpointsAttached))
369367
endpoints = append(endpoints, endpointsAttached...)
370368
}
371369
epPointers := make([]*hcn.HostComputeEndpoint, 0, len(endpoints))

0 commit comments

Comments
 (0)