Skip to content

Commit

Permalink
asdfasdf
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbw committed Nov 6, 2019
1 parent f68824c commit ab7ee2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go-controller/pkg/ovn/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ func (oc *Controller) addLogicalPort(pod *kapi.Pod) {
return
}

// Keep track of how long syncs take.
start := time.Now()
defer func() {
logrus.Infof("[%s/%s] addLogicalPort took %v", pod.Namespace, pod.Name, time.Since(start))
}()

if err = oc.waitForNodeLogicalSwitch(pod.Spec.NodeName); err != nil {
return
}
Expand Down

0 comments on commit ab7ee2b

Please sign in to comment.