We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2158144 commit 90e3abaCopy full SHA for 90e3aba
pkg/network/node/node.go
@@ -381,7 +381,7 @@ func (node *OsdnNode) reattachPods(existingPodSandboxes map[string]*kruntimeapi.
381
return err
382
}
383
start := time.Now()
384
- defer klog.V(2).Infof("reattachPods took %v", time.Since(start))
+ defer func() { klog.V(2).Infof("reattachPods took %v", time.Since(start)) }()
385
node.podManager.setReattachPodsCache(pods)
386
for sandboxID, podInfo := range existingOFPodNetworks {
387
sandbox, ok := existingPodSandboxes[sandboxID]
0 commit comments