Update go dependencies (#4322)
This commit is contained in:
parent
28cc3bb5e2
commit
a54ab3341e
507 changed files with 50566 additions and 40414 deletions
3
vendor/k8s.io/utils/trace/trace.go
generated
vendored
3
vendor/k8s.io/utils/trace/trace.go
generated
vendored
|
|
@ -43,7 +43,8 @@ func New(name string) *Trace {
|
|||
return &Trace{name, time.Now(), nil}
|
||||
}
|
||||
|
||||
// Step adds a new step with a specific message
|
||||
// Step adds a new step with a specific message. Call this at the end of an
|
||||
// execution step to record how long it took.
|
||||
func (t *Trace) Step(msg string) {
|
||||
if t.steps == nil {
|
||||
// traces almost always have less than 6 steps, do this to avoid more than a single allocation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue