mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
vendor updates
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user